You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried running and killing multiple consumers it seemed like the "sticky" strategy isn't working at all because the partitions were assigned randomly (didn't "stick" to the consumer where they were before).
So I tried to add some debugging code and it seems like the userData isn't persisted in the Kafka cluster - I can see the data encoded correctly after the rebalance, but when the next rebalancing is triggered, there are no userData received in the balance strategy (the byte array is empty).
Do I have wrong Kafka version, missing some config, ... or is something broken? I bet the issue is on my side but after 3 hours of investigating I was not able to find it.
The text was updated successfully, but these errors were encountered:
The sticky partition assignor can be enabled by running the consumer group example with the -assignor sticky flag. The description for my pull-request to add sticky partition assignor support shows how this works: #1416
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur.
Please check if the master branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.
ghost
added
the
stale
Issues and pull requests without any recent activity
label
Feb 21, 2020
Versions
Configuration
Nothing special: newConfig() + clientID + correct KafkaVersion + sticky rebalance strategy
Problem Description
When I tried running and killing multiple consumers it seemed like the "sticky" strategy isn't working at all because the partitions were assigned randomly (didn't "stick" to the consumer where they were before).
So I tried to add some debugging code and it seems like the userData isn't persisted in the Kafka cluster - I can see the data encoded correctly after the rebalance, but when the next rebalancing is triggered, there are no userData received in the balance strategy (the byte array is empty).
Do I have wrong Kafka version, missing some config, ... or is something broken? I bet the issue is on my side but after 3 hours of investigating I was not able to find it.
The text was updated successfully, but these errors were encountered: