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)

貢獻者指南