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;
|
|
|
|
|
2015-06-19 18:20:58 +03:00
|
|
|
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-19 18:20:58 +03:00
|
|
|
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.
|
2015-06-19 18:20:58 +03:00
|
|
|
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.
|
2015-06-19 18:20:58 +03:00
|
|
|
rpc StreamTables(binlogdata.StreamTablesRequest) returns (binlogdata.StreamTablesResponse) {};
|
2015-06-10 20:11:40 +03:00
|
|
|
}
|