According to the docs, Old Consumer Configs included a consumer.id
set to null by default:
consumer.id
Default: null
Description: Generated automatically if not set.
Is it possible to set the consumer.id
for the New Kafka Consumer and if so, how can I achieve this?
Kafka automatically generates a consumer.id
which is used by itself to identify the active consumers in a consumer group and it is not possible to manually set the consumer.id
for Kafka Consumers.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With