Open jonathan-dev opened 1 year ago
Hi, @jonathan-dev
The group.id
is vital for a consumer, and each consumer belongs to a "consumer group". https://www.confluent.io/blog/configuring-apache-kafka-consumer-group-ids/
About modern-cpp-kafka
API, if there's no group.id
configured for consumer properties, a random string would be used for it.
So does this mean that there is simply no equivalent to the assign method documented here in your library?
I am using the assign() method to poll messages from a specific kafka topic/partion. According to this stack overflow post here when using the assign() api (at least for java) we don't need consumer groups for this. When running my code however I notice that consumer groups with an auto generated name are created every time.
Is there anything I am doing wrong here that is causing the creation of the consumer groups? Or did I possibly get something wrong completely?
Thanks in advance for helping me out :)