cmccabe commented on a change in pull request #10113: URL: https://github.com/apache/kafka/pull/10113#discussion_r578010628
########## File path: raft/src/main/java/org/apache/kafka/raft/RaftClient.java ########## @@ -57,15 +57,16 @@ default void handleClaim(int epoch) {} /** * Invoked after a leader has stepped down. This callback may or may not * fire before the next leader has been elected. + * + * @param epoch the epoch that the leader is resigning from */ - default void handleResign() {} + default void handleResign(int epoch) {} Review comment: We would like to make it a long eventually. In the Raft layer it's currently an int, so this is correct. ---------------------------------------------------------------- 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