[ 
https://issues.apache.org/jira/browse/KAFKA-10424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184891#comment-17184891
 ] 

Ning Zhang commented on KAFKA-10424:
------------------------------------

[~grinfeld] I deployed the latest kafka 2.6 and it seems to me this is not a 
bug:

before running MM2:
```
bash-4.4#  /opt/kafka/bin/kafka-topics.sh --zookeeper 
zookeeper-service-backup:2181 --describe --topic primary.test
Topic:primary.test      PartitionCount:3        ReplicationFactor:3     Configs:
        Topic: primary.test     Partition: 0    Leader: 1       Replicas: 1,2,0 
Isr: 1,2,0
        Topic: primary.test     Partition: 1    Leader: 2       Replicas: 2,0,1 
Isr: 2,0,1
        Topic: primary.test     Partition: 2    Leader: 0       Replicas: 0,1,2 
Isr: 0,1,2
```
After running MM2:
```
bash-4.4#  /opt/kafka/bin/kafka-topics.sh --zookeeper 
zookeeper-service-backup:2181 --describe --topic primary.test
Topic:primary.test      PartitionCount:3        ReplicationFactor:3     
Configs:cleanup.policy=compact
        Topic: primary.test     Partition: 0    Leader: 1       Replicas: 1,2,0 
Isr: 1,2,0
        Topic: primary.test     Partition: 1    Leader: 2       Replicas: 2,0,1 
Isr: 2,0,1
        Topic: primary.test     Partition: 2    Leader: 0       Replicas: 0,1,2 
Isr: 0,1,2
```

note that `cleanup.policy=compact` is added after MM2 start

> MirrorMaker 2.0 does not replicates topic's "clean.policy"
> ----------------------------------------------------------
>
>                 Key: KAFKA-10424
>                 URL: https://issues.apache.org/jira/browse/KAFKA-10424
>             Project: Kafka
>          Issue Type: Bug
>          Components: mirrormaker
>    Affects Versions: 2.5.0
>            Reporter: Mikhail Grinfeld
>            Assignee: Ning Zhang
>            Priority: Major
>
> I needed to replicate schema-registry "_schemas" topic. 
> data was replicated successfully and everything looked good, but new 
> schema-registry started with warning that replicated topic's cleanup.policy 
> is not "compact"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to