jsancio opened a new pull request #10705: URL: https://github.com/apache/kafka/pull/10705
This patch removes the temporary shim layer we added to bridge the interface differences between `MetaLogManager` and `RaftClient`. 1. Reverse dependency between :raft and :metadata modules. 2. Consolidate `handleResign` and `handleNewLeader` APIs into single `handleLeaderChange` API 3. Move `MetadataRecordSerde` into :metadata 4. Update listeners to use `BatchReader` which takes disk reads out of the Raft IO thread 5. Delete `MetaLogRaftShim`, `MetaLogManager`, and `MetaLogListener` 6. Remove code for loading snapshots on the controller ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org