Skip to content

VReplication: ‘VStreamRows’ and ‘VStream’ are pull based or push based? #307

Answered by earayu
earayu asked this question in Q&A
Discussion options

You must be logged in to vote
  // VStream streams vreplication events.
  rpc VStream(binlogdata.VStreamRequest) returns (stream binlogdata.VStreamResponse) {};

  // VStreamRows streams rows from the specified starting point.
  rpc VStreamRows(binlogdata.VStreamRowsRequest) returns (stream binlogdata.VStreamRowsResponse) {};

But based on the above gRPC definition, it appears that they are using a producer push-based approach.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@earayu
Comment options

earayu Oct 8, 2023
Maintainer Author

Answer selected by earayu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants