sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

Offen

#856 geöffnet am 24.06.2022

 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (1.125 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (3.406 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 20h 13m) (3 gemergte PRs in 30 T)

Beschreibung

Add streaming APIs (RpcClient, RpcServer), implement it based on gRPC.

This is a subtask that belongs to the first step of #672 In this subtask, we need a streaming impl, for the leader (client) to continuously send raft logs to followers.

Main goals:

  • Add streaming API to RpcClient and RpcServer
  • Implement streaming based on gRPC (We are not going to use bolt to implement)

Contributor Guide