KAFKA-14220: Update WorkerSinkTask.java#12622
Conversation
|
Thanks @kumarpritam863, this is an important fix. I did some research on the history behind incremental consumer rebalancing and how it relates to the rebalance listener API, and found that this PR contained some great details, including an explicit confirmation on the expected ordering of callback invocation:
One case I'm wondering about is when the task fails, which would cause its consumer to leave the group. I believe that this would cause Could we forcibly reset the partition count metric to zero in It'd also be nice to see some tests for this logic, both to verify correctness and help prevent regression. |
No description provided.