We do not support legacy ‘Classic’ Consumer Groups that were deprecated in Kafka 4.0.‘Modern’ consumer groups are the recommended way to consume from Kafka since Kafka 4.0. They are stable and supported by all recent versions of Kafka clients.To enable Modern Consumer Groups in your client code, set this property in your consumer config:
Copy
group.protocol=consumer
In Java, this typically means adding this line to your consumer config: