FrankChen021 / bithon

An observability platform mainly for Java
Apache License 2.0
15 stars 4 forks source link

Prevent NPE from InstrumentationCommand in case interceptor fails to load #600

Closed FrankChen021 closed 1 year ago

FrankChen021 commented 1 year ago

This also prevents periodically instantiate the interceptor once it fails to instantiate.

One case is that the Kafka plugin targets the 2.5 or higher, some lower kafka clients miss some classes referenced by the 2.5 which are indirectly referenced by the interceptors.