Skip to content

Commit 0b245ef

Browse files
authored
Merge pull request #345 from icapurro/fix-kafka-pull
Remove invalid keyword argument 'sleep' from kafka poll
2 parents bd781e5 + 4fb16c9 commit 0b245ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontera/contrib/messagebus/kafka/offsets_fetcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def offsets(self, partitions, timestamp):
178178

179179
if future.exception.invalid_metadata:
180180
refresh_future = self._client.cluster.request_update()
181-
self._client.poll(future=refresh_future, sleep=True)
181+
self._client.poll(future=refresh_future)
182182
log.warning("Got exception %s and kept the loop", future.exception)
183183
if offsets:
184184
return offsets

0 commit comments

Comments
 (0)