Federico Valeri created KAFKA-21543:
---------------------------------------
Summary: Add WRITE_MIRROR_STATES RPC protocol layer
Key: KAFKA-21543
URL: https://issues.apache.org/jira/browse/KAFKA-21543
Project: Kafka
Issue Type: Sub-task
Reporter: Federico Valeri
Add the protocol layer for the WRITE_MIRROR_STATES RPC as specified in
KIP-1279. This is an inter-broker RPC used to write mirror partition state
transitions and epoch/offset updates to the coordinator. It is a broker-only
RPC, not forwarded to the controller. Partitions are identified by topic UUID,
matching the __mirror_state key schema. The write path includes fencing via
state epoch to prevent stale metadata from being persisted.
KafkaApis handler should check MirrorVersion.isEnabled(), authorize
(ClusterAction on Cluster resource), and return UNSUPPORTED_VERSION until
coordinator integration is implemented in a future task.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)