kafka/storage
Kamal Chandraprakash 16c079ed23
CI / build (push) Waiting to run Details
KAFKA-19525: Refactor TopicBasedRLMM implementation to remove unused code (#20204)
- startConsumerThread is always true so removed the variable.
- Replaced the repetitive lock handling logic with
`withReadLockAndEnsureInitialized` to reduce duplication and improve
readability.
- Consolidated the logic in `initializeResources` and. simplified method
arguments to better encapsulate configuration.
- Extracted common code and reduced the usage of global variables.
- Named the variables properly.

Tests:
- Existing UTs since this patch refactored the code.

Reviewers: PoAn Yang <payang@apache.org>
2025-07-23 12:19:13 +05:30
..
api/src KAFKA-18891: Add KIP-877 support to RemoteLogMetadataManager and RemoteStorageManager (#19286) 2025-04-18 15:04:37 +02:00
src KAFKA-19525: Refactor TopicBasedRLMM implementation to remove unused code (#20204) 2025-07-23 12:19:13 +05:30