You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kirk True (Jira)" <ji...@apache.org> on 2023/02/24 19:47:00 UTC

[jira] [Created] (KAFKA-14758) Extract inner classes from Fetcher for reuse in refactoring

Kirk True created KAFKA-14758:
---------------------------------

             Summary: Extract inner classes from Fetcher for reuse in refactoring
                 Key: KAFKA-14758
                 URL: https://issues.apache.org/jira/browse/KAFKA-14758
             Project: Kafka
          Issue Type: Improvement
          Components: clients, consumer
            Reporter: Kirk True
            Assignee: Kirk True


The {{Fetcher}} class is used internally by the {{KafkaConsumer}} to fetch records from the brokers. There is ongoing work to create a new consumer implementation with a significantly refactored threading model. The threading refactor work requires a similarly refactored {{{}Fetcher{}}}.

This task includes refactoring {{Fetcher}} by extracting out the inner classes into top-level (though still in {{{}internal{}}}) so that those classes can be referenced by forthcoming refactored fetch logic.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)