-
Notifications
You must be signed in to change notification settings - Fork 917
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
Add some extra check to muzzle that allow it to check all TypeInstrumentation's transform methods are valid #10652
Comments
hi @123liuziming! can you describe the problem you're trying to solve a bit more? is this just a debugging option you want to add? I believe there are several instrumentations that use multiple method matchers to handle different library versions |
I 'm trying to add some extra check in |
Is your feature request related to a problem? Please describe.
For example, the rocketmq 5.0.0 does not support the PublishingMessageImplInstrumentation's transform method. The


org.apache.rocketmq.client.java.impl.producer.PublishingSettings
is only supported since 5.0.1, which is named"ProducerSettings" in 5.0.0. The muzzle check can not handle this.
Describe the solution you'd like
I want to make an enhancement to muzzle-check, to check all the mismatches in all TypeInstrumentation's transform methods.
The effect of executing the
./gradlew :instrumentation:rocketmq:rocketmq-client:rocketmq-client-5.0:javaagent:muzzle
command should be as shown belowDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: