[ https://issues.apache.org/jira/browse/KAFKA-13113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-13113. ------------------------------------- Resolution: Fixed > Add unregister support to the RaftClient. > ----------------------------------------- > > Key: KAFKA-13113 > URL: https://issues.apache.org/jira/browse/KAFKA-13113 > Project: Kafka > Issue Type: Sub-task > Components: kraft > Reporter: Jose Armando Garcia Sancio > Assignee: Jose Armando Garcia Sancio > Priority: Blocker > Labels: kip-500 > Fix For: 3.0.0 > > > Implement the following API: > {code:java} > interface RaftClient<T> { > ListenerContext register(Listener<T>); > void unregister(ListenerContext); > } > interface ListenerContext { > } > interface Listener<T> { > void handleCommit(ListenerContext, BatchReader<T>); > void handleSnapshot(ListenerContext, SnapshotReader<T>); > void handleLeaderChange(ListenerContext, LeaderAndEpoch); > } {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)