github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/engine/proto/test.proto (about) 1 syntax = "proto3"; 2 package enginepb; 3 4 option go_package = "github.com/pingcap/tiflow/engine/enginepb"; 5 6 message Record { 7 enum RecordType { 8 Data = 0; 9 DDL = 1; 10 } 11 RecordType tp = 1; 12 int32 schema_ver = 2; 13 int32 tid = 3; 14 int32 gtid = 4; 15 int32 pk = 5; 16 // for record time 17 repeated int64 time_tracer = 6; 18 } 19 20 message TestBinlogRequest { 21 int32 gtid = 1; 22 } 23 24 service TestService { 25 rpc FeedBinlog(TestBinlogRequest) returns(stream Record); 26 }