Hi Churu, I think only 3) will trigger the topic creation, we need to change the misleading description. Thanks for pointing out.
Guozhang On Tue, Mar 4, 2014 at 3:10 PM, Churu Tang <ct...@rubiconproject.com> wrote: > Hi, > > According to the auto.create.topics.enable description, 1). attempts to > produce, 2), consume, 3), fetch metadata for a non-existent topic will > automatically create the topic with default config. I set the > auto.create.topics.enable to true, and only 3) fetch metadata will creates > the topic. > ProduceRequest, OffsetRequest for a non-existent topic of partition 0 will > result in a errorCode:3:unknown topic or partition response. If no > produceMessageSet included for produceRequest, or on offsetPartition > included for offsetRequest, then the non-existent topic request will result > a no-error response, but the non-existent topic is still not created. > Are the above what it supposed to do? Or Could I misconfigured anything? > Thanks for your time! > > Thanks, > Churu -- -- Guozhang