Skip to content
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: add batch consumer message #320

Merged
merged 2 commits into from
May 6, 2022
Merged

feat: add batch consumer message #320

merged 2 commits into from
May 6, 2022

Conversation

hjxp
Copy link
Contributor

@hjxp hjxp commented Apr 28, 2022

add batch consumer message

Copy link
Member

@sysulq sysulq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ctx,
cc.Topic,
trace.TagComponent("rocketmq"),
ext.SpanKindConsumer,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里如果不加trace.HeaderExtractor(metadata.New(msg.GetProperties()))的话,trace会关联不上

@sysulq sysulq merged commit 98a84f0 into douyu:master May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants