Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.8.1.1
-
None
-
None
Description
When partitions are added to an already existing topic the cleanup.policy=compact is not retained.
./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