Federico Valeri created KAFKA-21501:
---------------------------------------
Summary: Add MirrorTopicStateChangeRecord and mirror state
tracking in metadata images
Key: KAFKA-21501
URL: https://issues.apache.org/jira/browse/KAFKA-21501
Project: Kafka
Issue Type: Sub-task
Reporter: Federico Valeri
Assignee: Gaurav Narula
KIP-1279 requires the KRaft metadata log to track per-topic mirror state
transitions, so that all brokers in the cluster can observe when a topic's
desired mirror state changes (e.g. from MIRRORING to PAUSED or STOPPED).
Define a new MirrorTopicStateChangeRecord schema in the metadata module. This
record captures the mirror name and the desired mirror state for a given topic,
and is written to the metadata log whenever an operator issues a mirror
lifecycle command.
Thread mirror state through the existing metadata image/delta pipeline so that
mirror name and desired state are available in topic images, replayed correctly
through deltas, and surfaced as replica changes for broker-side components to
act on.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)