We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e12cdb6 commit 621b669Copy full SHA for 621b669
1 file changed
streamz/sources.py
@@ -456,7 +456,7 @@ def start(self):
456
457
# blocks for consumer thread to come up and invoke poll to
458
# establish connection with broker to fetch oauth token for kafka
459
- self.consumer.poll()
+ self.consumer.poll(timeout=1)
460
self.consumer.get_watermark_offsets(tp)
461
self.loop.add_callback(self.poll_kafka)
462
@@ -594,7 +594,7 @@ def start(self):
594
595
# blocks for consumer thread to come up and invoke poll to establish
596
# connection with broker to fetch oauth token for kafka
597
598
599
600
0 commit comments