Fixed Failure of Enhanced Kafka Interceptor to Acquire SkyWalking DynamicField (#2470)
This commit is contained in:
parent
4beaac001b
commit
a0ef72cf8b
|
|
@ -34,7 +34,9 @@ public class CallbackInterceptor implements InstanceMethodsAroundInterceptor {
|
|||
|
||||
//Get the SnapshotContext
|
||||
ContextSnapshot contextSnapshot = (ContextSnapshot)objInst.getSkyWalkingDynamicField();
|
||||
ContextManager.continued(contextSnapshot);
|
||||
if (null != contextSnapshot) {
|
||||
ContextManager.continued(contextSnapshot);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue