Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Messages consumed twice during rebalancing #62

Closed
horkhe opened this issue May 2, 2016 · 1 comment
Closed

Messages consumed twice during rebalancing #62

horkhe opened this issue May 2, 2016 · 1 comment
Labels

Comments

@horkhe
Copy link
Member

horkhe commented May 2, 2016

According to the logs when a partitions is being released due to rebalancing it sometimes fails to commit the last consumed offset to Kafka, that results in duplicate consumption of some messages by another Kafka-Pixy instance.

@horkhe horkhe added the bug label May 2, 2016
@horkhe
Copy link
Member Author

horkhe commented May 2, 2016

Further investigation revealed that the reason of duplication consumption was a bug in the Offset Manager. Under some circumstances when an Offset Manager is signalled to stop, it does that prematurely not waiting for the last submitted offset to be committed.

horkhe added a commit that referenced this issue May 3, 2016
@horkhe horkhe closed this as completed in 2aab654 May 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant