multithreading - Kafka high-level consumer: Can partitions have multiple threads consuming it? -


can messages given partition ever divided on multiple threads? let's have single partition , hundred processes hundred threads each - messages single partition given 1 of 10000 threads?

multiple threads cannot consume same partition unless threads in different consumer groups. single thread consume messages single partition although have lots of idle consumers.

the number of partitions unit of parallelism in kafka. make multiple consumers consume same partition, must increase number of partitions of topic parallelism want achieve or put every single thread separate consumer groups, think latter not desirable.


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -