Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ni-ze opened this issue Nov 25, 2019 · 4 comments
Open

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

ni-ze opened this issue Nov 25, 2019 · 4 comments

Comments

@ni-ze
Copy link

ni-ze commented Nov 25, 2019

 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);
@codefromthecrypt
Copy link
Member

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
Copy link
Member

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

@JoeKerouac
Copy link

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

@codefromthecrypt
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@codefromthecrypt @JoeKerouac @ni-ze and others