alm0ra / mockafka-py

Mockafka-py is a Python library designed for in-memory mocking of Kafka.[aiokafka - confluence-kafka-python]
https://mockafka-py.readthedocs.io
MIT License
44 stars 11 forks source link

Flesh out FakeAIOKafkaConsumer #112

Closed PeterJCLaw closed 2 months ago

PeterJCLaw commented 3 months ago

This adds missing parameters to:

Mostly via inspection of aiokafka, though also some manual testing. I've also validated this by using it in some integration tests for a codebase already in production.

Fixes #107.

Builds on #110 and #111, which it contains; suggest reviewing them first then only considering the other changes here.

Review by commit may be useful here to understand the flow of some of the refactors.