[ https://issues.apache.org/jira/browse/KAFKA-3018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15160018#comment-15160018 ]
ASF GitHub Bot commented on KAFKA-3018: --------------------------------------- GitHub user choang opened a pull request: https://github.com/apache/kafka/pull/961 KAFKA-3018: added topic name validator to ProducerRecord Added validation for topic name when creating a `ProducerRecord`, and added corresponding tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/choang/kafka kafka-3018 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/961.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #961 ---- commit de2e599268189921bf768de66bf003e56b9e879f Author: Chi Hoang <chi.ho...@zuora.com> Date: 2016-02-23T22:06:58Z KAFKA-3018: added topic name validator to ProducerRecord ---- > 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)