We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 737b22c commit 1b3a595Copy full SHA for 1b3a595
airbyte_cdk/sources/concurrent_source/concurrent_source.py
@@ -147,7 +147,10 @@ def _consume_from_queue(
147
airbyte_message_or_record_or_exception,
148
concurrent_stream_processor,
149
)
150
- if concurrent_stream_processor.is_done() and queue.empty():
+ # In the event that a partition raises an exception, anything remaining in
151
+ # the queue will be missed because is_done() can raise an exception and exit
152
+ # out of this loop before remaining items are consumed
153
+ if queue.empty() and concurrent_stream_processor.is_done():
154
# all partitions were generated and processed. we're done here
155
break
156
0 commit comments