[ 
https://issues.apache.org/jira/browse/KAFKA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Natkins updated KAFKA-1562:
------------------------------------

    Attachment: KAFKA-1562_2014-07-30_13:18:21.patch

> 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
>         Attachments: KAFKA-1562.patch, KAFKA-1562_2014-07-30_13:18:21.patch
>
>
> 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)

Reply via email to