-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support go to cpp PipelineEventGroup transfer #1771
base: main
Are you sure you want to change the base?
Conversation
core/protobuf/sls/*.pb.* | ||
core/protobuf/models/*.pb.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这两行能不能合并?
oneof Value { | ||
UntypedSingleValue UntypedSingleValue = 3; | ||
} | ||
map<string, bytes> Tags = 4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oneof里的编号是必须和外面连续吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不是必须的
}, | ||
} | ||
|
||
func CreateLogEvent(t time.Time, enableTimestampNano bool, fields map[string]string) (*protocol.LogEvent, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个和下面ByArray是用来做什么的?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
go v1 input是以map形式生成数据的,这里用于直接将map转为proto数据结构
新增go插件、cpp插件PipelineEventGroup转换