ConsumerGroupId
Specifies the consumer group that the provider uses when reading messages from Apache Kafka.
Data Type
string
Default Value
""
Remarks
A consumer group is a logical identifier that Kafka uses to track committed offsets and coordinate message consumption across multiple consumers. All consumers that share the same group ID use the same committed offsets and divide message processing among themselves.
If this property is not specified, the driver generates a unique random group ID for each connection. In this mode, offsets are not shared across connections, and each connection reads messages independently of others. Set this property when you want multiple connections or applications to share the same committed offsets, or when you are using features that depend on offset tracking, such as AutoCommit.