Notice how when calling consumer.poll(), we specify a partition. My suggestion
would be to allow users to NOT specify a partition, and kafkaesque will auto poll
all partition's in a specific topic.
Currently, if you wanted to poll several partitions in the same topic, you might expect to do it like so:
(NOTE: issue #10 needs to fixed for this to work as expected)
When starting a kafkaesque instance/consumer, the code is as follows:
Notice how when calling
consumer.poll()
, we specify a partition. My suggestion would be to allow users to NOT specify a partition, and kafkaesque will auto poll all partition's in a specific topic.Currently, if you wanted to poll several partitions in the same topic, you might expect to do it like so: (NOTE: issue #10 needs to fixed for this to work as expected)