milvus/pkg/eventlog/event_log.proto
congqixia 0bc03ede0d
Add eventlog pkg and support grpc streaming event observation (#25812)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
2023-07-25 17:23:01 +08:00

27 lines
417 B
Protocol Buffer

syntax = "proto3";
package milvus.proto.eventlog;
option go_package = "github.com/milvus-io/milvus/pkg/eventlog";
service EventLogService {
rpc Listen(ListenRequest) returns(stream Event) {}
}
message ListenRequest {
}
message Event {
Level level = 1;
int32 type = 2;
bytes data = 3;
int64 ts = 4;
}
enum Level {
Undefined = 0;
Debug = 1;
Info = 2;
Warn = 3;
Error = 4;
}