vitess-gh/proto/binlogservice.proto

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

// 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;
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
}