diff options
Diffstat (limited to 'python/pdfextract_tool.py')
-rwxr-xr-x | python/pdfextract_tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |