mockafka-py icon indicating copy to clipboard operation
mockafka-py copied to clipboard

`FakeAIOKafkaConsumer.getone` returns `None` but should block

Open PeterJCLaw opened this issue 1 year ago • 5 comments

The real aiokafka consumer's getone implementation blocks indefinitely rather than returning None when there are no messages. Currently FakeAIOKafkaConsumer.getone differs from that.

Spotted while working on #112.

PeterJCLaw avatar Jul 07 '24 20:07 PeterJCLaw