-
Notifications
You must be signed in to change notification settings - Fork 121
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
Fix: Issues with cooperative-sticky strategy #593
base: master
Are you sure you want to change the base?
Conversation
…world" scenarios (e.g., cooperative sticky). * Enabled automatic committing with `confluent auto commit: true` instead of relying solely on manual commits, but only when the consumer strategy is cooperative sticky. (Refer to the open librdkafka issue at confluentinc/librdkafka#4059).
… support for the cooperative sticky strategy, allowing for more thorough testing and analysis.
…world" scenarios (e.g., cooperative sticky). Fixes issue Farfetch#557 and Fixes issue Farfetch#456 * Enabled automatic committing with `confluent auto commit: true` instead of relying solely on manual commits, but only when the consumer strategy is cooperative sticky. (Refer to the open librdkafka issue at confluentinc/librdkafka#4059).
… support for the cooperative sticky strategy, allowing for more thorough testing and analysis.
… into fix/sticky-cooperative-strategy
Great work 🚀 with this PR. Can you also add some tests as well to validate this use case? 🙇 |
- Added 3 new test files to improve coverage: - `ConsumerConfigurationBuilderTests.cs` - `KafkaConfigTests.cs` - `PartitionAssignmentStrategyTests.cs` - Fixed a bug in `ClusterConfiguration` related to the `AutoCommitInterval` initialization.
We'd love to have this feature. Any updates on the implementation of the tests? |
Unit tests were added 2 months ago. |
Great. Any updates on getting the feature reviewed @dosper7? |
Great to see it happening! Thanks @golanbz for working on it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @golanbz !
@golanbz thanks for the contribution! Can you please rebase the PR with master. |
Hooray! Things are moving! I am so excited! :) |
…world" scenarios (e.g., cooperative sticky). * Enabled automatic committing with `confluent auto commit: true` instead of relying solely on manual commits, but only when the consumer strategy is cooperative sticky. (Refer to the open librdkafka issue at confluentinc/librdkafka#4059).
… support for the cooperative sticky strategy, allowing for more thorough testing and analysis.
- Added 3 new test files to improve coverage: - `ConsumerConfigurationBuilderTests.cs` - `KafkaConfigTests.cs` - `PartitionAssignmentStrategyTests.cs` - Fixed a bug in `ClusterConfiguration` related to the `AutoCommitInterval` initialization.
0816113
to
0683df5
Compare
… into fix/sticky-cooperative-strategy
@golanbz can you please check the errors on the lint step? Also, rebase with the latest changes from master. |
Description
cooperative-sticky
protocol #456.confluent.auto.commit: true
for the cooperative sticky consumer strategy, instead of relying solely on manual commits. This change is particularly relevant due to the ongoing issue in librdkafka (see: Consumers should not be able to commit during a rebalance confluentinc/librdkafka#4059).How Has This Been Tested?
Checklist
Disclaimer
By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement.