Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

break waiting for claiming partition if new consumer join #113

Merged
merged 1 commit into from
Dec 3, 2017

Conversation

mrcold
Copy link

@mrcold mrcold commented Dec 26, 2016

With PR #101 , I still run into some issues. When a consumer is looping 62s for the previous partition owner to release it, some new consumer may join, so the all of the assignment will be calculated again.

In this case, it make no sense to waiting for the partition calculated based-on the old consumer list. It should break the waiting loop and trying to claim all of the new assigned partitions.

@elaPa
Copy link

elaPa commented Nov 15, 2017

We're experiencing the same issue, and the PR proposed here fixes it (thank you, @mrcold !)
@wvanbergen could you take a look at accepting this change, please? Thank you!

@wvanbergen wvanbergen merged commit e2edea9 into wvanbergen:master Dec 3, 2017
@wvanbergen
Copy link
Owner

Thanks!

quipo added a commit to MeltwaterArchive/kafka-cg that referenced this pull request Dec 4, 2017
@elaPa
Copy link

elaPa commented Dec 4, 2017

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants