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

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

[~chi_groupon] The situation we are trying to avoid here is that the client and 
server has different judgement of whether a topic is valid or not. e.g. the 
clients said the topic is invalid and the broker said it is valid. This will be 
confusing to the user.

The issue we have today is that the invalid topic error is only shown in the 
log but not thrown as an exception to the user. Instead user thread will block. 
We can fix that and propagate the exception properly. But I think we should 
avoid validating the topic on both client an server side because the code might 
be different as [~ijuma] mentioned.

> 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