vitess-gh/proto/binlogservice.proto

24 строки
834 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.
rpc StreamUpdate(binlogdata.StreamUpdateRequest) returns (binlogdata.StreamUpdateResponse) {};
2015-06-10 20:11:40 +03:00
// StreamKeyRange returns the binlog transactions related to
// the specified Keyrange.
rpc StreamKeyRange(binlogdata.StreamKeyRangeRequest) returns (binlogdata.StreamKeyRangeResponse) {};
2015-06-10 20:11:40 +03:00
// StreamTables returns the binlog transactions related to
// the specified Tables.
rpc StreamTables(binlogdata.StreamTablesRequest) returns (binlogdata.StreamTablesResponse) {};
2015-06-10 20:11:40 +03:00
}