You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jay Kreps (JIRA)" <ji...@apache.org> on 2012/07/19 02:17:34 UTC

[jira] [Commented] (KAFKA-352) Throw exception to client if it makes a produce/consume request to a Kafka broker for a topic that hasn't been created

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

Jay Kreps commented on KAFKA-352:
---------------------------------

+1

A few minor things:
1. Remove the println in KafkaApis.scala
2. In LogOffsetTest, I think there is no need to define val part = 0 since it is only used once
3. What does the Thread.sleep(500) in SyncProducerTest.testProduceCorrectlyReceivesResponse wait for?



                
> Throw exception to client if it makes a produce/consume request to a Kafka broker for a topic that hasn't been created
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-352
>                 URL: https://issues.apache.org/jira/browse/KAFKA-352
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Neha Narkhede
>            Assignee: Neha Narkhede
>         Attachments: kafka-352-v1.patch
>
>
> It will be good to inform the client if it makes a produce/consume request to a Kafka broker for a topic that hasn't been created. The exception should be something like UnknownTopicException that is descriptive.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira