Federico Valeri created KAFKA-21504:
---------------------------------------
Summary: Add MirrorPartitionMetadata record type
Key: KAFKA-21504
URL: https://issues.apache.org/jira/browse/KAFKA-21504
Project: Kafka
Issue Type: Sub-task
Reporter: Federico Valeri
KIP-1279 needs an immutable snapshot type to carry per-partition mirror
metadata throughout the system. The coordinator persists it, the broker acts on
it, and various components read it to make state transition decisions.
Add a MirrorPartitionMetadata record in org.apache.kafka.server.mirror within
the server-common module. This class is referenced from multiple modules (core,
metadata, mirror-coordinator) and server-common is the lowest common dependency
that avoids circular module dependencies.
The record holds the partition's current mirror state, state epoch, last
mirrored epoch and offset, error information, retry attempt, and previous state.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)