[ https://issues.apache.org/jira/browse/KAFKA-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manikumar reassigned KAFKA-6778: -------------------------------- Assignee: Manikumar > DescribeConfigs does not return error for non-existent topic > ------------------------------------------------------------ > > Key: KAFKA-6778 > URL: https://issues.apache.org/jira/browse/KAFKA-6778 > Project: Kafka > Issue Type: Bug > Components: admin > Affects Versions: 1.1.0 > Reporter: Magnus Edenhill > Assignee: Manikumar > Priority: Major > > 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. > > {code:java} > [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) > .... > {code} > But the topic does not exist: > {code:java} > $ $KAFKA_PATH/bin/kafka-topics.sh --zookeeper $ZK_ADDRESS --list | grep > rdkafkatest_rnd3df408bf5d94d696_DescribeConfigs_notexist ; echo $? > 1 > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)