feat(statemachine): 提交数组重组的Processor相关,与探针交互无关

This commit is contained in:
黄思敏
2022-08-12 17:44:51 +08:00
parent c65aeb88bb
commit 5ef843db43

24
Processor.proto Normal file
View File

@@ -0,0 +1,24 @@
syntax = "proto3";
import "google/protobuf/any.proto";
option java_multiple_files = false; //不要拆分成多个文件
option java_package = "com.yuandian.dataflow.proto";
option go_package = "../grpc-gen;grpcgen";
package dataflow;
message ProcessorResponse {
int32 code = 1; // 返回的状态码
string message = 2; // 消息
}
message PacketsProcessorRequest {
int32 type = 1; // 请求类型. 默认 为 1. 暂无意义
string version = 2; // 请求版本. 区分版本. 非必要时不使用
repeated google.protobuf.Any packets = 3; // 请求的可变参数. 暂不使用
}
service ProcessorServer {
rpc AllPackets (PacketsProcessorRequest) returns (ProcessorResponse);
}