aboutsummaryrefslogtreecommitdiffstats
path: root/python/kafka_grobid.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2018-11-21 17:59:25 -0800
committerBryan Newbold <bnewbold@archive.org>2018-11-21 17:59:25 -0800
commit73a9d1aa622865994d50bc8db097e339cbc29fe9 (patch)
tree561bb6ae6139794717b06f65fbf5bbfe044638ac /python/kafka_grobid.py
parent4092a62bb03cd6e72b3f197e753593f6ee626182 (diff)
downloadsandcrawler-73a9d1aa622865994d50bc8db097e339cbc29fe9.tar.gz
sandcrawler-73a9d1aa622865994d50bc8db097e339cbc29fe9.zip
better default consumergroup name
Diffstat (limited to 'python/kafka_grobid.py')
-rwxr-xr-xpython/kafka_grobid.py2
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')