[ 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