Manohar Vanam created KAFKA-7780:
------------------------------------
Summary: Kafka client should validate topic-level configs and
update only unique values
Key: KAFKA-7780
URL: https://issues.apache.org/jira/browse/KAFKA-7780
Project: Kafka
Issue Type: Improvement
Components: clients
Affects Versions: 2.1.0
Reporter: Manohar Vanam
Assignee: Manohar Vanam
Kafka client should validate topic-level configs and update only unique values.
Current behaviour:
{code:java}
./kafka-topics.sh --create --topic dummy28 --partitions 2 --replication-factor
1 --zookeeper localhost:2181 --config cleanup.policy=*delete,compact,delete*
Created topic "dummy28".
./kafka-topics.sh --describe --topic dummy28 --zookeeper localhost:2181
Topic:dummy28 PartitionCount:2 ReplicationFactor:1
Configs:cleanup.policy=*delete,compact,delete*
Topic: dummy28 Partition: 0 Leader: 0 Replicas: 0 Isr: 0
Topic: dummy28 Partition: 1 Leader: 0 Replicas: 0 Isr: 0{code}
Expected behaviour:
{code:java}
./kafka-topics.sh --describe --topic dummy28 --zookeeper localhost:2181
Topic:dummy28 PartitionCount:2 ReplicationFactor:1
Configs:cleanup.policy=*delete,compact*
Topic: dummy28 Partition: 0 Leader: 0 Replicas: 0 Isr: 0
Topic: dummy28 Partition: 1 Leader: 0 Replicas: 0 Isr: 0
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)