You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Chris Barlock <ba...@us.ibm.com> on 2016/06/17 17:55:57 UTC

Consumer Question

If you have a consumer listening on a topic and that topic is deleted is 
the consumer made aware -- perhaps by some exception -- or does it 
continue listening, blissfully unaware that it will never hear anything 
more?

Thanks, 

Chris



Re: Consumer Question

Posted by Chris Barlock <ba...@us.ibm.com>.
Thank you, but that is not the question I asked.  If a topic exists and a 
consumer is listening -- and then the topic is deleted -- does the 
consumer get some sort of notification that the topic is now gone, perhaps 
an exception?

Chris




From:   Anirudh P <pa...@gmail.com>
To:     users@kafka.apache.org
Date:   06/19/2016 11:04 PM
Subject:        Re: Consumer Question



Hi Chris,

We should also ensure that auto.create.topics.enable is set to true.

Thank you,
Anirudh
Hi Chris,

If the topic not exist, it will create a new topic with the name which you
give.

Thanks,
Nicole

On Sat, Jun 18, 2016 at 1:55 AM, Chris Barlock <ba...@us.ibm.com> wrote:

> If you have a consumer listening on a topic and that topic is deleted is
> the consumer made aware -- perhaps by some exception -- or does it
> continue listening, blissfully unaware that it will never hear anything
> more?
>
> Thanks,
>
> Chris
>
>
>





Re: Consumer Question

Posted by Anirudh P <pa...@gmail.com>.
Hi Chris,

We should also ensure that auto.create.topics.enable is set to true.

Thank you,
Anirudh
Hi Chris,

If the topic not exist, it will create a new topic with the name which you
give.

Thanks,
Nicole

On Sat, Jun 18, 2016 at 1:55 AM, Chris Barlock <ba...@us.ibm.com> wrote:

> If you have a consumer listening on a topic and that topic is deleted is
> the consumer made aware -- perhaps by some exception -- or does it
> continue listening, blissfully unaware that it will never hear anything
> more?
>
> Thanks,
>
> Chris
>
>
>

Re: Consumer Question

Posted by Shaolu Xu <sh...@tibco-support.com>.
Hi Chris,

If the topic not exist, it will create a new topic with the name which you
give.

Thanks,
Nicole

On Sat, Jun 18, 2016 at 1:55 AM, Chris Barlock <ba...@us.ibm.com> wrote:

> If you have a consumer listening on a topic and that topic is deleted is
> the consumer made aware -- perhaps by some exception -- or does it
> continue listening, blissfully unaware that it will never hear anything
> more?
>
> Thanks,
>
> Chris
>
>
>