You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/07/21 02:26:00 UTC
[jira] [Created] (KAFKA-13113) Add unregister support to the
RaftClient.
Jose Armando Garcia Sancio created KAFKA-13113:
--------------------------------------------------
Summary: 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
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)