sofastack/sofa-jraft

RFC: Add streaming APIs (RpcClient, RpcServer)

Ouverte

#856 ouverte le 24 juin 2022

 (5 commentaires) (0 réaction) (1 personne assignée)Java (1 125 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (3 406 étoiles)
Métriques de merge PR
 (Merge moyen 20h 13m) (3 PRs mergées en 30 j)

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)

Guide contributeur