Skip to content

Consumer group starvation and partition allocation #56

Answered by astubbs
raphaelauv asked this question in Q&A
Discussion options

You must be logged in to vote

That’s a great question! Thanks for asking and thanks for your interest in the project.

The parallel consumer (PC) only uses a single consumer instance. So, if you deploy three PCs on let’s say, three nodes, you will have three consumers running in the group. So your 15 partitions will be spread evenly as normal, five per consumer.

The concurrency you get though, is determined by the number of PCs, the ordering type you choose, and the max concurrency you choose.

So, if you want 15 partitions to process in parallel in partition order, with three instances, you would set max concurrency to at least 5. That would give you three consumers, each running 5 threads to process messages (but stil…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by raphaelauv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #56 on December 17, 2020 10:54.