hachikuji opened a new pull request #9482:
URL: https://github.com/apache/kafka/pull/9482


   In #9418, we add a listener to the `RaftClient` interface. In that patch, we 
used it only to send commit notifications for writes from the leader. In this 
PR, we extend the `handleCommit` API to accept all committed data and we remove 
the pull-based `read` API. Additionally, we add two new callbacks to the 
listener interface in order to notify the state machine when the raft client 
has claimed or resigned leadership.
   
   Note this patch builds on top of #9418. Once merged, I will rebase this 
patch and remove draft status.
   
   ### 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


Reply via email to