Skip to content

Commit

Permalink
set acks='all', linger_ms=5
Browse files Browse the repository at this point in the history
  • Loading branch information
14MR committed May 28, 2024
1 parent 0d1be65 commit d4cea15
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blockchainetl/jobs/exporters/kafka_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def __init__(self, item_type_to_topic_mapping, converters=()):
buffer_memory=100000000,
retries=5,
batch_size=32768,
linger_ms=1)
linger_ms=5,
acks='all'
)

# use redis for deduplication of live messages
self.redis = None
Expand Down

0 comments on commit d4cea15

Please sign in to comment.