Mickael Maison created KAFKA-14745:
--------------------------------------
Summary: MirrorSourceConnector keeps creating ReplicationPolicy
instances
Key: KAFKA-14745
URL: https://issues.apache.org/jira/browse/KAFKA-14745
Project: Kafka
Issue Type: Improvement
Components: mirrormaker
Reporter: Mickael Maison
Assignee: Mickael Maison
In MirrorSourceConnector.findTargetTopicPartitions() we call
MirrorSourceConfig.checkpointsTopic() for each remote topic or all topics when
using IdentityReplicationPolicy.
The issue is that checkpointsTopic() calls
MirrorSourceConfig.replicationPolicy() which always creates a new instance of
the ReplicationPolicy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)