-
Notifications
You must be signed in to change notification settings - Fork 122
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
[Bug Report]: KafkaFlow doesn't work with cooperative-sticky
protocol
#456
Comments
Hi @AlexeyRaga, |
@lpcouto I equally have no access to the thread anymore, but I don't believe that anything useful was mentioned in there. I haven't tried using cooperative-sticky mode in version 3, but I don't believe it'll work. |
@AlexeyRaga |
…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).
Prerequisites
Description
As discussed in this thread KafkaFlow doesn't behave correctly when the consumer is configured to use
cooperative-sticky
rebalancing protocol.The protocol is described here
Steps to reproduce
Configure the consumer using
WithConsumerConfig(...)
and set the the strategy:Expected behavior
The consumer is expected to work as usual/normal, except that rebalancing would not cause "stop-the-world" behaviour.
Actual behavior
When KafkaFlow is configured to use
PartitionAssignmentStrategy.CooperativeSticky
the consumer seems to be working (processes messages), but does not commit any offsets.KafkaFlow version
2.4.1
The text was updated successfully, but these errors were encountered: