Federico Valeri created KAFKA-21545:
---------------------------------------

             Summary: Add BUMP_LEADER_EPOCHS RPC protocol layer
                 Key: KAFKA-21545
                 URL: https://issues.apache.org/jira/browse/KAFKA-21545
             Project: Kafka
          Issue Type: Sub-task
            Reporter: Federico Valeri


Add the protocol layer for the BUMP_LEADER_EPOCHS RPC as specified in KIP-1279. 
This inter-broker RPC ensures that destination leader epochs stay at or above 
source leader epochs to prevent epoch-based fencing issues when mirroring 
stops. It is forwarded from the broker to the controller.

KafkaApis handler should check MirrorVersion.isEnabled(), then forward to the 
controller via forwardingManager.forwardRequest().

ControllerApis handler should check MirrorVersion.isEnabled(), authorize 
(ClusterAction on Cluster resource), and return UNSUPPORTED_VERSION until 
controller logic is implemented in a future task.



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

Reply via email to