Skip to content

feat: support rocketmq #414

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

DeepSeaCat
Copy link

@DeepSeaCat DeepSeaCat changed the title support rocketmq feat: support rocketmq Apr 25, 2025
@123liuziming
Copy link
Collaborator

Thanks! Please have a look at the error of unit test

=== RUN   TestSpanTimestamps
    instrumenter_test.go:319: no spans captured
--- FAIL: TestSpanTimestamps (0.00s)

@123liuziming
Copy link
Collaborator

Merge the main branch to fix UT failure

@123liuziming
Copy link
Collaborator

@Cirilla-zmh Could you please help to review this PR?


val := reflect.ValueOf(producer).Elem()
if !val.IsValid() {
return reflect.Value{}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Using reflection affects performance too much, is it necessary to use reflection, Is there an alternative approach?

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