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

Jiangjie Qin commented on KAFKA-3018:
-------------------------------------

I am not sure if we should let producer to check if a topic name is valid or 
not. At the end of the day, it is the server which determines whether a topic 
name is valid or not. Would it help if we improve the error message of 
InvalidTopicException a little bit to give some possible causes?

> Kafka producer hangs on producer.close() call if the producer topic contains 
> single quotes in the topic name
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-3018
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3018
>             Project: Kafka
>          Issue Type: Bug
>          Components: producer 
>    Affects Versions: 0.8.2.0
>            Reporter: kanav anand
>            Assignee: Jun Rao
>
> While creating topics with quotes in the name throws a exception but if you 
> try to close a producer configured with a topic name with quotes the producer 
> hangs.
> It can be easily replicated and verified by setting topic.name for a producer 
> with a string containing single quotes in it.



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

Reply via email to