[ https://issues.apache.org/jira/browse/KAFKA-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163731#comment-15163731 ]
Grant Henke commented on KAFKA-3018: ------------------------------------ [~hoangchi], I agree with [~becket_qin] that the "true" place for this validation is in the server. Though I am not against some fail fast filters in the client either. The main reason being that clients support a concept of "auto topic creation" which actually trigger on the client but is carried out by the server. I am always for better more clear error messages. So if we can do that, we should. Especially because even if we add validation client side, the server may not agree and the error messages will need to be handled/communicated. > 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)