You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (Jira)" <ji...@apache.org> on 2021/07/24 04:57:00 UTC
[jira] [Resolved] (KAFKA-13113) Add unregister support to the
RaftClient.
[ 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)