sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

Open

#856 aberto em 24 de jun. de 2022

Ver no GitHub
 (5 comments) (0 reactions) (1 assignee)Java (1.125 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (3.406 stars)
Métricas de merge de PR
 (Mesclagem média 20h 13m) (3 fundiu PRs em 30d)

Description

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)

Guia do colaborador