[
https://issues.apache.org/jira/browse/KAFKA-21503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Federico Valeri updated KAFKA-21503:
------------------------------------
Description:
KIP-1279 needs a canonical key type to uniquely identify a mirror partition
across the system. Coordinator state lookups, RPC payloads, and partition
assignment all reference the same (mirrorName, topicId, partition) triple.
Add a MirrorPartition record in org.apache.kafka.server.mirror within the
server-common module. This class will be referenced from multiple modules
(core, metadata, mirror-coordinator) and server-common is the lowest common
dependency that avoids circular module dependencies.
The record should validate the mirror name (non-empty, max 249 characters,
ASCII alphanumeric plus ._-, rejecting "." and "..", following the same
constraints as topic names).
was:
KIP-1279 needs a canonical key type to uniquely identify a mirror partition
across the system. Coordinator state lookups, RPC payloads, and partition
assignment all reference the same (mirrorName, topicId, partition) triple.
Add a MirrorPartition 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 should validate the mirror name (non-empty, max 249 characters,
ASCII alphanumeric plus ._-, rejecting "." and "..", following the same
constraints as topic names).
> Add MirrorPartition record type
> --------------------------------
>
> Key: KAFKA-21503
> URL: https://issues.apache.org/jira/browse/KAFKA-21503
> Project: Kafka
> Issue Type: Sub-task
> Reporter: Federico Valeri
> Assignee: Federico Valeri
> Priority: Major
>
> KIP-1279 needs a canonical key type to uniquely identify a mirror partition
> across the system. Coordinator state lookups, RPC payloads, and partition
> assignment all reference the same (mirrorName, topicId, partition) triple.
> Add a MirrorPartition record in org.apache.kafka.server.mirror within the
> server-common module. This class will be referenced from multiple modules
> (core, metadata, mirror-coordinator) and server-common is the lowest common
> dependency that avoids circular module dependencies.
> The record should validate the mirror name (non-empty, max 249 characters,
> ASCII alphanumeric plus ._-, rejecting "." and "..", following the same
> constraints as topic names).
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)