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

Jun Rao commented on KAFKA-2337:
--------------------------------

Sorry for the late comment. It seems that in KafkaApis.getTopicMetadata(), we 
need to handle InvalidTopicException explicitly when calling 
AdminUtils.createTopic (by returning the corresponding error code for that 
topic). Otherwise, we may not be able to get the metadata for other valid 
topics. This seems to be an existing problem, but this jira makes 
InvalidTopicException more likely to happen. We can either fix this as a 
followup in this jira and in a new jira.

> Verify that metric names will not collide when creating new topics
> ------------------------------------------------------------------
>
>                 Key: KAFKA-2337
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2337
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Gwen Shapira
>            Assignee: Grant Henke
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-2337.patch, KAFKA-2337_2015-07-17_11:17:30.patch, 
> KAFKA-2337_2015-07-20_12:36:41.patch, KAFKA-2337_2015-07-20_16:48:25.patch
>
>
> When creating a new topic, convert the proposed topic name to the name that 
> will be used in metrics and validate that there are no collisions with 
> existing names.
> See this discussion for context: http://s.apache.org/snW



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to