sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

开放

#856 创建于 2022年6月24日

 (5 条评论) (0 个反应) (1 位负责人)Java (1,125 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (3,406 个星标)
PR 合并指标
 (平均合并 20小时 13分钟) (30 天内合并 3 个 PR)

描述

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)

贡献者指南