Kenny created KAFKA-1562: ---------------------------- Summary: 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
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)