sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

Open

#856 geöffnet am 24. Juni 2022

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Java (3.406 Stars) (1.125 Forks)batch import
enhancementhelp wanted

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