PartitionConsumer::stream
should not block while there are no records
#986
Labels
Projects
Milestone
If I create a new empty topic and run the following code, it will block indefinitely:
This is not desirable. The expected behavior would be for the stream object to be returned as soon as a connection to the partition leader is created. Waiting should only happen if we explicitly await on fetching elements on the stream, e.g. here:
The text was updated successfully, but these errors were encountered: