Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

question for ConsumePartition #244

Closed
adpoint opened this issue Jun 7, 2018 · 1 comment
Closed

question for ConsumePartition #244

adpoint opened this issue Jun 7, 2018 · 1 comment

Comments

@adpoint
Copy link

adpoint commented Jun 7, 2018

i use api ConsumePartition, one consumer A for one partition 0, one consumer B for one partition 1, when i add one partition or one consumer, then when kafka rebalance, consumer A also for partition 0?

@dim
Copy link
Member

dim commented Jun 7, 2018

Partitions are assigned using a configurable balancing strategy. In the next version of sarama, this will be more flexible, see IBM/sarama#1099

@dim dim closed this as completed Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants