Federico Valeri created KAFKA-21533:
---------------------------------------

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


Add the protocol layer for the CREATE_CLUSTER_MIRROR RPC as specified in 
KIP-1279. This RPC creates a new cluster mirror definition. It is forwarded 
from the broker to the controller.

In the full implementation, the handler also triggers auto-creation of the 
__mirror_state internal topic before forwarding. Leave a placeholder for this 
until AutoTopicCreationManager wiring is available.

ControllerApis handler should check MirrorVersion.isEnabled(), authorize 
(Create on ClusterMirror resource), and return UNSUPPORTED_VERSION until 
controller logic is implemented in a future task. Leave a placeholder for the 
authorization check until the CLUSTER_MIRROR authorization resource type is 
available.



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

Reply via email to