This brings the mock implementations in line with the behaviour observed in the default configurations of confluent-kafka and aiokafka respectively, both of which return subsequent messages on subsequent calls.
Testing
Tested by running kafka locally and validating the behaviour of the relevant libraries manually. Commands & demo scripts below.
Summary
This brings the mock implementations in line with the behaviour observed in the default configurations of
confluent-kafka
andaiokafka
respectively, both of which return subsequent messages on subsequent calls.Testing
Tested by running kafka locally and validating the behaviour of the relevant libraries manually. Commands & demo scripts below.