You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Gwen Shapira <gw...@confluent.io> on 2016/04/08 22:08:35 UTC

Re: Subscribe on a topic that does not exist?

It depends. If auto.topic.create.enable is true, a topic will be created.
If its false, you will get some kind of topic doesn't exist exception.

Gwen

On Thu, Apr 7, 2016 at 11:49 AM, Shravan Ambati <Sh...@calix.com>
wrote:

> Hi,
>
> I could not find answer to this in the documentation.
> In Kafka 0.9.X, what happens when the consumer calls consumer.subscribe
> for a non existant topic?
>
>
> Thanks
> Shravan
>