2016-08-31 17:34:03 +03:00
|
|
|
// This file contains the UpdateStream service definition, necessary
|
|
|
|
// to make RPC calls to VtTablet for the binlog protocol, used by
|
|
|
|
// filtered replication only.
|
2015-06-10 20:11:40 +03:00
|
|
|
|
|
|
|
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 {
|
|
|
|
// 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
|
|
|
}
|