sanghyeok An created KAFKA-21687:
------------------------------------

             Summary: Static consumer retains its previous rack ID after 
rejoining with client.rack unset
                 Key: KAFKA-21687
                 URL: https://issues.apache.org/jira/browse/KAFKA-21687
             Project: Kafka
          Issue Type: Bug
          Components: consumer, group-coordinator
            Reporter: sanghyeok An
            Assignee: sanghyeok An


A consumer using {{group.protocol=consumer}} joins a group with 
{{group.instance.id=worker-1}} and {{{}client.rack=rack-a{}}}. The broker 
records {{rack-a}} as the member’s rack ID.

The consumer shuts down gracefully and restarts before the session timeout with 
the same {{group.instance.id}} and the {{client.rack}} setting removed. It 
rejoins with a new member ID and no rack ID.

The broker still reports {{rack-a}} as the new member’s rack ID. The group 
metadata retains the previous process’s rack ID even though the restarted 
consumer has no rack configured.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to