kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6778) DescribeConfigs does not return error for non-existent topic
Date Fri, 13 Apr 2018 09:38:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437073#comment-16437073
] 

ASF GitHub Bot commented on KAFKA-6778:
---------------------------------------

omkreddy opened a new pull request #4866: KAFKA-6778: AdminClient.describeConfigs() should
return error for non-existent topics
URL: https://github.com/apache/kafka/pull/4866
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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)

Mime
View raw message