vitess-gh/proto/binlogservice.proto

24 строки
855 B
Protocol Buffer
Исходник Обычный вид История

2015-06-10 20:11:40 +03:00
// 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";
2015-06-10 20:11:40 +03:00
// UpdateStream is the RPC version of binlog.UpdateStream.
service UpdateStream {
// StreamUpdate streams the binlog events, to know which objects have changed.
2015-06-24 21:38:19 +03:00
rpc StreamUpdate(binlogdata.StreamUpdateRequest) returns (stream binlogdata.StreamUpdateResponse) {};
2015-06-10 20:11:40 +03:00
// StreamKeyRange returns the binlog transactions related to
// the specified Keyrange.
2015-06-24 21:38:19 +03:00
rpc StreamKeyRange(binlogdata.StreamKeyRangeRequest) returns (stream binlogdata.StreamKeyRangeResponse) {};
2015-06-10 20:11:40 +03:00
// StreamTables returns the binlog transactions related to
// the specified Tables.
2015-06-24 21:38:19 +03:00
rpc StreamTables(binlogdata.StreamTablesRequest) returns (stream binlogdata.StreamTablesResponse) {};
2015-06-10 20:11:40 +03:00
}