You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jonathan Natkins (JIRA)" <ji...@apache.org> on 2014/07/30 21:50:40 UTC
[jira] [Commented] (KAFKA-1562) kafka-topics.sh alter add
partitions resets cleanup.policy
[ https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079846#comment-14079846 ]
Jonathan Natkins commented on KAFKA-1562:
-----------------------------------------
If it's alright, I was planning on working on this a bit. I think I know where the issue is, and I'm in the process of fixing it at the moment.
> kafka-topics.sh alter add partitions resets cleanup.policy
> ----------------------------------------------------------
>
> Key: KAFKA-1562
> URL: https://issues.apache.org/jira/browse/KAFKA-1562
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8.1.1
> Reporter: Kenny
> Assignee: Sriharsha Chintalapani
>
> When partitions are added to an already existing topic the cleanup.policy=compact is not retained.
> {code}
> ./kafka-topics.sh --zookeeper localhost --create --partitions 1 --replication-factor 1 --topic KTEST --config cleanup.policy=compact
> ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
> Topic:KTEST PartitionCount:1 ReplicationFactor:1 Configs:cleanup.policy=compact
> Topic: KTEST Partition: 0 Leader: 0 Replicas: 0 Isr: 0
> ./kafka-topics.sh --zookeeper localhost --alter --partitions 3 --topic KTEST --config cleanup.policy=compact
> ./kafka-topics.sh --zookeeper localhost --describe --topic KTEST
> Topic:KTEST PartitionCount:3 ReplicationFactor:1 Configs:
> Topic: KTEST Partition: 0 Leader: 0 Replicas: 0 Isr: 0
> Topic: KTEST Partition: 1 Leader: 0 Replicas: 0 Isr: 0
> Topic: KTEST Partition: 2 Leader: 0 Replicas: 0 Isr: 0
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)