Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
This task introduces new functionality for handling ListOffsets requests for the new consumer implementation, as part for the ongoing work for the consumer threading model refactor.
This task introduces a new class named {{OffsetsRequestManager, }}responsible of :
- building ListOffsets requests
- process its responses
Consumer API functionality that requires ListOffsets requests are implemented using this manager: beginningOffsets, endOffsets and offsetsForTimes.
These consumer API functions will generate a ListOffsetsApplicationEvent with parameters. This event is then handled by the OffsetsRequestManager, who will build the ListOffsets request and process its responses, to provide a result back to the API via the ListOffsetsApplicationEvent completion.
Attachments
Issue Links
- is part of
-
KAFKA-14246 Update threading model for Consumer
- Resolved
- is required by
-
KAFKA-15081 Implement new consumer offsetsForTimes
- Resolved
- relates to
-
KAFKA-18469 AsyncConsumer fails to retry ListOffsetRequest on ReplicaNotAvailable error without metadata update
- Resolved
- links to