Magnus Edenhill created KAFKA-6778:

             Summary: DescribeConfigs does not return error for non-existent 
                 Key: KAFKA-6778
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 1.1.0
            Reporter: Magnus Edenhill

Sending a DescribeConfigsRequest with a ConfigResource(TOPIC, 
"non-existent-topic") returns a fully populated ConfigResource back in the 
response with 24 configuration entries.

A resource-level error_code of UnknownTopic.. would be expected instead.

[0081_admin / 1.143s] ConfigResource #0: type TOPIC (2), 
"rdkafkatest_rnd3df408bf5d94d696_DescribeConfigs_notexist": 24 ConfigEntries, 
error NO_ERROR ()
[0081_admin / 1.144s] #0/24: Source UNKNOWN (5): "compression.type"="producer" 
[is read-only=n, default=n, sensitive=n, synonym=n] with 1 synonym(s)
But the topic does not exist:
$ $KAFKA_PATH/bin/ --zookeeper $ZK_ADDRESS --list | grep 
rdkafkatest_rnd3df408bf5d94d696_DescribeConfigs_notexist ; echo $?


This message was sent by Atlassian JIRA

Reply via email to