Details

    • Sub-task
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 3.0.0
    • kraft

    Description

      Implement the following API:

      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);
      } 

      Attachments

        Issue Links

          Activity

            People

              jagsancio Jose Armando Garcia Sancio
              jagsancio Jose Armando Garcia Sancio
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: