kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Failed in automatically creating topic
Date Wed, 05 Mar 2014 04:33:40 GMT
Yes, the produce request itself won't trigger topic creation. However, the
first thing the producer client does is to issue a metadata request.

Thanks,

Jun


On Tue, Mar 4, 2014 at 5:49 PM, Guozhang Wang <wangguoz@gmail.com> wrote:

> 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 <ctang@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message