kafka/gradle
Kirk True 22f7ffe5e1
KAFKA-15277: Design & implement support for internal Consumer delegates (#14670)
The consumer refactoring project introduced another `Consumer` implementation, creating two different, coexisting implementations of the `Consumer` interface:

* `KafkaConsumer` (AKA "existing", "legacy" consumer)
* `PrototypeAsyncConsumer` (AKA "new", "refactored" consumer)

The goal of this task is to refactor the code via the delegation pattern so that we can keep a top-level `KafkaConsumer` but then delegate to another implementation under the covers. There will be two delegates at first:

* `LegacyKafkaConsumer`
* `AsyncKafkaConsumer`

`LegacyKafkaConsumer` is essentially a renamed `KafkaConsumer`. That implementation handles the existing group protocol. `AsyncKafkaConsumer` is renamed from `PrototypeAsyncConsumer` and will implement the new consumer group protocol from KIP-848. Both of those implementations will live in the `internals` sub-package to discourage their use.

This task is part of the work to implement support for the new KIP-848 consumer group protocol.

Reviewers: Philip Nee <pnee@confluent.io>, Andrew Schofield <aschofield@confluent.io>, David Jacot <djacot@confluent.io>
2023-11-15 05:00:40 -08:00
..
resources MINOR: fix dependencycheck warnings (#14476) 2023-10-11 16:18:19 +02:00
wrapper MINOR: Upgrade gradle, plugins and test libraries (#14431) 2023-09-24 06:01:28 -07:00
dependencies.gradle MINOR; Fix KRaft metadata version system tests (#14722) 2023-11-09 12:03:12 -08:00
openapi.template KAFKA-13780: Generate OpenAPI file for Connect REST API (#12067) 2022-06-10 11:35:22 +02:00
spotbugs-exclude.xml KAFKA-15277: Design & implement support for internal Consumer delegates (#14670) 2023-11-15 05:00:40 -08:00