summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools/harvest/harvest_common.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2020-03-27 16:50:08 -0700
committerGitHub <noreply@github.com>2020-03-27 16:50:08 -0700
commit98abe2e751187aa7c2e751b355ffb56d9b1f8c6a (patch)
treef198efd4fcf070554bce164cd261de54d397cdfe /python/fatcat_tools/harvest/harvest_common.py
parent5c4f5114b4dfeb7a5deca20d460c9fc5759a922a (diff)
parent94710b2803780ab16fb30b79010f8e27cf115512 (diff)
downloadfatcat-98abe2e751187aa7c2e751b355ffb56d9b1f8c6a.tar.gz
fatcat-98abe2e751187aa7c2e751b355ffb56d9b1f8c6a.zip
Merge pull request #53 from EdwardBetts/spelling
Correct spelling mistakes
Diffstat (limited to 'python/fatcat_tools/harvest/harvest_common.py')
-rw-r--r--python/fatcat_tools/harvest/harvest_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/harvest/harvest_common.py b/python/fatcat_tools/harvest/harvest_common.py
index 310366bd..5f7aa084 100644
--- a/python/fatcat_tools/harvest/harvest_common.py
+++ b/python/fatcat_tools/harvest/harvest_common.py
@@ -133,7 +133,7 @@ class HarvestState:
def fail_fast(err, msg):
if err:
raise KafkaException(err)
- print("Commiting status to Kafka: {}".format(kafka_topic), file=sys.stderr)
+ print("Committing status to Kafka: {}".format(kafka_topic), file=sys.stderr)
producer_conf = kafka_config.copy()
producer_conf.update({
'delivery.report.only.error': True,
@@ -164,7 +164,7 @@ class HarvestState:
raise KafkaException(err)
conf = kafka_config.copy()
conf.update({
- 'group.id': 'dummy_init_group', # should never be commited
+ 'group.id': 'dummy_init_group', # should never be committed
'enable.auto.commit': False,
'auto.offset.reset': 'earliest',
'session.timeout.ms': 10000,