зеркало из https://github.com/github/vitess-gh.git
24 строки
855 B
Protocol Buffer
24 строки
855 B
Protocol Buffer
// This file contains all the types and servers necessary to make
|
|
// RPC calls to VtTablet for the binlog protocol.
|
|
|
|
syntax = "proto3";
|
|
|
|
package binlogservice;
|
|
|
|
import "binlogdata.proto";
|
|
|
|
// UpdateStream is the RPC version of binlog.UpdateStream.
|
|
service UpdateStream {
|
|
|
|
// StreamUpdate streams the binlog events, to know which objects have changed.
|
|
rpc StreamUpdate(binlogdata.StreamUpdateRequest) returns (stream binlogdata.StreamUpdateResponse) {};
|
|
|
|
// StreamKeyRange returns the binlog transactions related to
|
|
// the specified Keyrange.
|
|
rpc StreamKeyRange(binlogdata.StreamKeyRangeRequest) returns (stream binlogdata.StreamKeyRangeResponse) {};
|
|
|
|
// StreamTables returns the binlog transactions related to
|
|
// the specified Tables.
|
|
rpc StreamTables(binlogdata.StreamTablesRequest) returns (stream binlogdata.StreamTablesResponse) {};
|
|
}
|