KAFKA-6774; Improve the default group id behavior in KafkaConsumer (KIP-289) (#5877)
Improve the default group id behavior by: * changing the default consumer group to null, where no offset commit or fetch, or group management operations are allowed * deprecating the use of empty (`""`) consumer group on the client Reviewers: Jason Gustafson <jason@confluent.io>
Showing
- clients/src/main/java/org/apache/kafka/clients/consumer/ConsumerConfig.java 1 addition, 1 deletion...ava/org/apache/kafka/clients/consumer/ConsumerConfig.java
- clients/src/main/java/org/apache/kafka/clients/consumer/KafkaConsumer.java 64 additions, 45 deletions...java/org/apache/kafka/clients/consumer/KafkaConsumer.java
- clients/src/main/java/org/apache/kafka/clients/consumer/internals/AbstractCoordinator.java 3 additions, 2 deletions...kafka/clients/consumer/internals/AbstractCoordinator.java
- clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java 110 additions, 24 deletions.../org/apache/kafka/clients/consumer/KafkaConsumerTest.java
- clients/src/test/java/org/apache/kafka/common/security/authenticator/ClientAuthenticationFailureTest.java 1 addition, 0 deletions...curity/authenticator/ClientAuthenticationFailureTest.java
- core/src/test/scala/integration/kafka/api/IntegrationTestHarness.scala 3 additions, 1 deletion.../scala/integration/kafka/api/IntegrationTestHarness.scala
- core/src/test/scala/integration/kafka/api/PlaintextConsumerTest.scala 127 additions, 1 deletion...t/scala/integration/kafka/api/PlaintextConsumerTest.scala
- docs/upgrade.html 9 additions, 0 deletionsdocs/upgrade.html
Loading
Please register or sign in to comment