kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Magnus Edenhill <mag...@edenhill.se>
Subject Re: group id issue on kafka using C library
Date Sun, 10 Mar 2019 22:19:31 GMT
You need to explicitly set the "group.id" configuration property (with
rd_kafka_conf_set()) when using the high-level consumer.

Den sön 10 mars 2019 kl 18:57 skrev K R, Rakesh <rk-r@hpe.com>:

> Then any idea on why I am seeing this error
> RD_KAFKA_RESP_ERR__UNKNOWN_GROUP without group id?
>
> -----Original Message-----
> From: Akshata akshu [mailto:akshataakshu96@gmail.com]
> Sent: Sunday, March 10, 2019 11:20 PM
> To: users@kafka.apache.org
> Subject: Re: group id issue on kafka using C library
>
> Hi,
> Group id is not mandatory. If you create a consumer without the group id
> random group id is assigned for the consumer.
>
> On Sun 10 Mar, 2019 11:08 pm K R, Rakesh, <rk-r@hpe.com> wrote:
>
> > Hi,
> > I am completely new to this kafka.
> > I was just playing around with example code provided in the repo
> > https://github.com/edenhill/librdkafka/tree/master/examples.
> > I have encountered an issue where rd_kafka_poll_set_consumer() api
> > throws me an error saying Local: Unknown group
> > (RD_KAFKA_RESP_ERR__UNKNOWN_GROUP ) Using consumer group is mandatory?
> > I am using librdkafka v1.0.0 (0x10000ff)
> >
> > Thanks & Regards,
> > Rakesh K R
> >
> >
>

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