I have implemented a kafka consumer similar to the way described in this article: http://howtoprogram.xyz/2016/05/29/create-multi-threaded-apache-kafka-consumer/
The way it is implemented implies only one consumer thread for one partition. So I want 10 consumer threads then I would need 10 topic partitions.
Are there any other working approaches for multithreaded consumers?
I alse looked into this article: https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example
However while testing this example in my environment I got an exception topic-1395414642817-47bb4df2 can't rebalance after 4 retries.