[ https://issues.apache.org/jira/browse/KAFKA-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao updated KAFKA-101: -------------------------- Attachment: KAFKA-101_v3.patch Merged the v2 patch and the getoffset patch into a v3 patch. 1. get rid of unused method LogManager.getLogOrGenerateFake 2. If the topic hasn't been created, probably only getting the latest or the earliest offset make sense. Otherwise, we should return an empty array. 3. Optimized the import on several files. > Avoid creating a new topic by the consumer > ------------------------------------------ > > Key: KAFKA-101 > URL: https://issues.apache.org/jira/browse/KAFKA-101 > Project: Kafka > Issue Type: Improvement > Components: core > Affects Versions: 0.7 > Reporter: Jun Rao > Labels: patch > Attachments: > 0002-KAFKA-101-Avoid-creating-a-new-topic-by-the-consumer.patch.0.7, > KAFKA-101-getoffsets.patch, KAFKA-101_v2.patch, KAFKA-101_v3.patch > > > Currently, if a consumer consumes a topic and the topic doesn't exist, the > topic is created automatically. Sometimes this can be confusing. Often, an ad > hoc user may put a wrong topic name in the consumer and thus create many > unnecessary topics. -- 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