You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/01/19 18:36:00 UTC

[jira] [Created] (KAFKA-20081) Refactor RemoteLogManager

Chia-Ping Tsai created KAFKA-20081:
--------------------------------------

             Summary: Refactor RemoteLogManager
                 Key: KAFKA-20081
                 URL: https://issues.apache.org/jira/browse/KAFKA-20081
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


The `RemoteLogManager` has become overly monolithic and complex. We should refactor it by extracting nested classes and introducing helper methods and lambdas to improve maintainability.


1. Extract `RemoteLogRetentionHandler` into s separate top-level class and enhance its test coverage

2. Extract `CancellableRunnable`, `RLMTask`, and `RLMFollowerTask` into separate classes, and also improve their test coverage

3. refactor RLMExpirationTask

4. refactor RLMCopyTask



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