brave icon indicating copy to clipboard operation
brave copied to clipboard

how can I use brave to trace the appication with RocketMQ?

Open ni-ze opened this issue 5 years ago • 4 comments

 this is my pom file: 
 <!--RocketMQ-->
    <dependency>
        <groupId>org.apache.rocketmq</groupId>
        <artifactId>rocketmq-client</artifactId>
        <version>4.4.0</version>
    </dependency>

and I use like this:

   @Autowired
    private DefaultMQProducer defaultMQProducer;

   ...

   defaultMQProducer.send(message);

ni-ze avatar Nov 25 '19 09:11 ni-ze

unless rocketmq has a JMS driver, this would be a new instrumentation. We'd need a few others interested and a volunteer to write it

codefromthecrypt avatar Jan 29 '20 02:01 codefromthecrypt

https://github.com/apache/rocketmq/wiki/RIP-6-Message-Trace has some summary information about how RocketMQ thinks about tracing.

fields they record are listed here https://github.com/apache/rocketmq/blob/master/client/src/main/java/org/apache/rocketmq/client/trace/TraceBean.java

likely we minimally need topic messageKey, messageId properties to link to their trace data

cc also @literatureandyou in case you were looking for rocket here

codefromthecrypt avatar Jun 07 '20 03:06 codefromthecrypt

@codefromthecrypt I plan to add rocketmq support in brave, is there anything I need to pay attention to?

JoeKerouac avatar Jan 10 '23 08:01 JoeKerouac

Is anyone still interested in this? If so, please 👍 this comment.

codefromthecrypt avatar Jan 06 '24 02:01 codefromthecrypt