提交 a0ef72cf 编写于 作者: W Wilt 提交者: wu-sheng

Fixed Failure of Enhanced Kafka Interceptor to Acquire SkyWalking DynamicField (#2470)

上级 4beaac00
...@@ -34,7 +34,9 @@ public class CallbackInterceptor implements InstanceMethodsAroundInterceptor { ...@@ -34,7 +34,9 @@ public class CallbackInterceptor implements InstanceMethodsAroundInterceptor {
//Get the SnapshotContext //Get the SnapshotContext
ContextSnapshot contextSnapshot = (ContextSnapshot)objInst.getSkyWalkingDynamicField(); ContextSnapshot contextSnapshot = (ContextSnapshot)objInst.getSkyWalkingDynamicField();
ContextManager.continued(contextSnapshot); if (null != contextSnapshot) {
ContextManager.continued(contextSnapshot);
}
} }
@Override @Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册