sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

Open

#856 aperta il 24 giu 2022

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)Java (1125 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (3406 star)
Metriche merge PR
 (Merge medio 20h 13m) (3 PR mergiate in 30 g)

Descrizione

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)

Guida contributor