Hossam-Samin commented on PR #10480: URL: https://github.com/apache/kafka/pull/10480#issuecomment-2620198991
By moving the BatchAccumulator from KafkaRaftClient to LeaderState, we have streamlined the handling of leader-specific logic, which previously cluttered the KafkaRaftClient class. This change improves the separation of concerns and simplifies the overall architecture by ensuring that only leader-related information is managed within LeaderState. Additionally, the use of QuorumState to ensure proper state transitions and resource management adds stability and maintainability to the system. Overall, this refactor enhances the scalability and clarity of the Kafka Raft implementation, making the codebase easier to maintain and extend in the future. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
