-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
MatchableClassFileTransformerDispatcher not apply on All Classes #3687
Comments
It confused me several weeks |
org.apache.kafka.clients.consumer.KafkaConsumer,/E:/Localrepository/org/apache/kafka/kafka-clients/0.10.1.1/kafka-clients-0.10.1.1.jar,sun.misc.Launcher$AppClassLoader@4145f572 |
Hi @jsxiaoshunzi
Also, is it just SubscriptionState that is not being transformed? or are other kafka classes you're trying to modify not getting transformed as well? |
@Xylus |
@jsxiaoshunzi |
@jaehong-kim |
@jsxiaoshunzi Is this solved? |
Description
I wrote KafkaConsumer plugin,then a very strange thing happens.
I have print out all the MatchableClassFileTransformerGuardDelegate . And I can see 'SubscriptionState' class has a MatchableClassFileTransformerGuardDelegate transformer {matcher=DefaultClassNameMatcher{org.apache.kafka.clients.consumer.internals.SubscriptionState}, transformCallback=com.navercorp.pinpoint.plugin.kafka.KafkaClientPlugin$1@3dd6db4a}
But The transformer has not been applied. (Noexception happens of course)
Similar like https://stackoverflow.com/questions/34285862/java-agent-transform-not-applied-on-all-classes
The text was updated successfully, but these errors were encountered: