kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Jorgensen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-1816) Topic configs reset after partition increase
Date Tue, 09 Dec 2014 21:27:12 GMT
Andrew Jorgensen created KAFKA-1816:

             Summary: Topic configs reset after partition increase
                 Key: KAFKA-1816
                 URL: https://issues.apache.org/jira/browse/KAFKA-1816
             Project: Kafka
          Issue Type: Bug
    Affects Versions:
            Reporter: Andrew Jorgensen
            Priority: Minor

If you alter a topic to increase the number of partitions then the configuration erases the
existing configs for that topic. This can be reproduces by doing the following:

$ bin/kafka-topics.sh --create --zookeeper localhost --topic test_topic --partitions 5 --config

$ bin/kafka-topics.sh --describe --zookeeper localhost --topic test_topic
> Topic:test_topic        PartitionCount:5        ReplicationFactor:1     Configs:retention.ms=3600

$ bin/kafka-topics.sh --alter --zookeeper localhost --topic test_topic --partitions 10
> Topic:test_topic        PartitionCount:10        ReplicationFactor:1     Configs:

This message was sent by Atlassian JIRA

View raw message