David Dufour created KAFKA-19608:
------------------------------------

             Summary: REBOOTSTRAP_REQUIRED leave connections to group 
coordinator untouched
                 Key: KAFKA-19608
                 URL: https://issues.apache.org/jira/browse/KAFKA-19608
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 4.0.0
            Reporter: David Dufour


KIP-1102 has introduced a new error code to instruct clients to rebootstrap. 
This error has been introduced to help proxies to instruct the clients to 
reboostrap when brokers have changed.

However, the current implementation in group consumers leave the connections to 
the group coordinator intact.

As a result, when doing a cluster failover:
 - the clients receive REBOOTSTRAP_REQUIRED
 - the broker connections are reboostrapped, connections to the primary cluster 
are closed and connections to the secondary clusters are opened

 - the consumers are still connected to the group coordinator of the primary 
cluster

==> the consumers are:
 - fetching data from the secondary cluster
 - sending hearbeats to the primary cluster

The consumers are in an inconsistent state



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to