From 2a7ef915ad83dbcd2b00fa211f210a80cd561f27 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 25 Jun 2020 11:19:58 -0700 Subject: pdfextract: don't compress thumbnail output --- python/pdfextract_tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pdfextract_tool.py b/python/pdfextract_tool.py index ce96d38..e05d48d 100755 --- a/python/pdfextract_tool.py +++ b/python/pdfextract_tool.py @@ -122,7 +122,7 @@ def main(): thumbnail_topic = "sandcrawler-{}.pdf-thumbnail-180px-jpg".format(args.kafka_env) args.sink = KafkaCompressSink(kafka_hosts=args.kafka_hosts, produce_topic=text_topic) - args.thumbnail_sink = KafkaCompressSink(kafka_hosts=args.kafka_hosts, + args.thumbnail_sink = KafkaSink(kafka_hosts=args.kafka_hosts, produce_topic=thumbnail_topic) print("Running in kafka output mode, publishing to {} and {}\n".format( text_topic, thumbnail_topic), file=sys.stderr) -- cgit v1.2.3