Sean Quah created KAFKA-20754:
---------------------------------
Summary: Disallow static member instance id changes
Key: KAFKA-20754
URL: https://issues.apache.org/jira/browse/KAFKA-20754
Project: Kafka
Issue Type: Improvement
Components: group-coordinator
Reporter: Sean Quah
Assignee: Sean Quah
Currently we allow static members to rejoin with the same member id and
different instance id. This is an interaction that the Java client will never
do and is rarely considered when reviewing patches. It leads to odd corner case
bugs like KAFKA-20747.
It would be simpler to forbid instance id changes entirely when keeping member
ids the same.
* Forbid addition of an instance id to a non-static member.
* Forbid a swap of instance id.
* Forbid the removal of an instance id from a static member. Right now this
retains the existing instance id.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)