sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

オープン

#856 opened on 2022/06/24

 (5 件のコメント) (0 件のリアクション) (1 人の担当者)Java (1,125 件のフォーク)batch import
enhancementhelp wanted

Repository metrics

Stars
 (3,406 個のスター)
PR merge metrics
 (平均マージ 20h 13m) (30d で 3 merged PRs)

説明

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)

コントリビューターガイド