diff options
author | Bryan Newbold <bnewbold@archive.org> | 2018-11-21 17:59:25 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2018-11-21 17:59:25 -0800 |
commit | 73a9d1aa622865994d50bc8db097e339cbc29fe9 (patch) | |
tree | 561bb6ae6139794717b06f65fbf5bbfe044638ac | |
parent | 4092a62bb03cd6e72b3f197e753593f6ee626182 (diff) | |
download | sandcrawler-73a9d1aa622865994d50bc8db097e339cbc29fe9.tar.gz sandcrawler-73a9d1aa622865994d50bc8db097e339cbc29fe9.zip |
better default consumergroup name
-rwxr-xr-x | python/kafka_grobid.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/kafka_grobid.py b/python/kafka_grobid.py index d48c175..4fac7d5 100755 --- a/python/kafka_grobid.py +++ b/python/kafka_grobid.py @@ -62,7 +62,7 @@ class KafkaGrobidWorker: def __init__(self, kafka_hosts, consume_topic, produce_topic, **kwargs): self.consume_topic = consume_topic self.produce_topic = produce_topic - self.consumer_group = kwargs.get('consumer_group', 'extraction') + self.consumer_group = kwargs.get('consumer_group', 'grobid-extraction') self.kafka_hosts = kafka_hosts or 'localhost:9092' self.grobid_uri = kwargs.get('grobid_uri') self.warc_uri_prefix = kwargs.get('warc_uri_prefix') |