Yes, consumer group ID can be any value. In your example, does hasNext()
return false or hit an exception?

Thanks,

Jun


On Tue, Feb 25, 2014 at 8:31 PM, Binita Bharati <binita.bhar...@gmail.com>wrote:

> Hi Steve,
>
> So, I assume that consumer group ID is just a logical grouping ? i.e. it
> can be any random  value ?
> Actually, I am unable to get any data when I am running this eg :
> https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example.
> The "ConsumerTest" class's , while(it.hasNext()) check isn't successful. (
> Data is present on the concerned topic)
>
> Any idea why ? I am using kafka-0.8.0.
>
> Thanks
> Binita
>
>
> On Tue, Feb 25, 2014 at 12:08 PM, Binita Bharati
> <binita.bhar...@gmail.com>wrote:
>
> > Hi all,
> >
> > I am referring to this e.g:
> > https://cwiki.apache.org/confluence/display/KAFKA/Consumer+Group+Example
> .
> >
> > What is the consumer group ID being referred here ?
> >
> > Thanks
> > Binita
> >
>

Reply via email to