Class BaseTopicMessageInstrumentation

java.lang.Object
org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassEnhancePluginDefine
org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
org.apache.skywalking.apm.plugin.pulsar.common.define.BaseTopicMessageInstrumentation

public class BaseTopicMessageInstrumentation extends org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine
Pulsar topic message instrumentation.

The topic message enhanced object is only for passing message reception span across threads.

Enhanced message object will be injected MessageEnhanceRequiredInfo after message process method if consumer has a message listener.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    Fields inherited from class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine

    CONTEXT_ATTR_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch
     
    org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[]
     
    org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[]
     

    Methods inherited from class org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassInstanceMethodsEnhancePluginDefine

    getStaticMethodsInterceptPoints

    Methods inherited from class org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.ClassEnhancePluginDefine

    enhanceClass, enhanceInstance, getInstanceMethodsInterceptV2Points, getStaticMethodsInterceptV2Points

    Methods inherited from class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine

    define, enhance, isBootstrapInstrumentation, witnessClasses, witnessMethods

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • BaseTopicMessageInstrumentation

      public BaseTopicMessageInstrumentation()
  • Method Details

    • getConstructorsInterceptPoints

      public org.apache.skywalking.apm.agent.core.plugin.interceptor.ConstructorInterceptPoint[] getConstructorsInterceptPoints()
      Specified by:
      getConstructorsInterceptPoints in class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
    • getInstanceMethodsInterceptPoints

      public org.apache.skywalking.apm.agent.core.plugin.interceptor.InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
      Specified by:
      getInstanceMethodsInterceptPoints in class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine
    • enhanceClass

      protected org.apache.skywalking.apm.agent.core.plugin.match.ClassMatch enhanceClass()
      Specified by:
      enhanceClass in class org.apache.skywalking.apm.agent.core.plugin.AbstractClassEnhancePluginDefine