chickenchickenlove opened a new pull request, #24063:
URL: https://github.com/apache/kafka/pull/24063

   When a static Streams member rejoins with a new member ID and a different 
process ID, inheriting its current assignment can create duplicate task 
ownership on the new process. Subsequent revocation can lose ownership tracking 
and allow premature assignment, as described in KAFKA-21401.
   
   This change resets the member’s current assignment and reconciliation state 
while preserving its metadata and inheriting its target assignment through the 
existing static replacement path. The process ID change still bumps the group 
epoch and triggers target assignment recomputation, subject to the configured 
assignment interval.
   
   Starting with an empty current assignment ensures that tasks pass ownership 
checks during reconciliation, preventing different members on the same process 
from owning the same task. Endpoint changes are also compared against the 
previous member so peers are notified when its advertised tasks change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to