viktorsomogyi commented on code in PR #17815: URL: https://github.com/apache/kafka/pull/17815#discussion_r1865896613
########## connect/mirror-client/src/test/java/org/apache/kafka/connect/mirror/ReplicationPolicyTest.java: ########## @@ -38,15 +38,19 @@ public void setUp() { @Test public void testInternalTopic() { + Map<String, Object> config = new HashMap<>(); + config.put(MirrorClientConfig.REPLICATION_POLICY_SEPARATOR, "."); + DEFAULT_REPLICATION_POLICY.configure(config); + // starts with '__' assertTrue(DEFAULT_REPLICATION_POLICY.isInternalTopic("__consumer_offsets")); // starts with '.' assertTrue(DEFAULT_REPLICATION_POLICY.isInternalTopic(".hiddentopic")); - // ends with '.internal': default DistributedConfig.OFFSET_STORAGE_TOPIC_CONFIG in standalone mode. + // starts with 'mm2' and ends with '.internal': default DistributedConfig.OFFSET_STORAGE_TOPIC_CONFIG in standalone mode. assertTrue(DEFAULT_REPLICATION_POLICY.isInternalTopic("mm2-offsets.CLUSTER.internal")); - // ends with '-internal' - assertTrue(DEFAULT_REPLICATION_POLICY.isInternalTopic("mm2-offsets-CLUSTER-internal")); + // starts with 'mm2' and ends with '-internal' Review Comment: Let's remove it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org