ahuazhu commented on a change in pull request #1303: [ISSSUE 1188]Fix the 
problem when more than one producer or consumer in the same process can trace 
only one
URL: https://github.com/apache/rocketmq/pull/1303#discussion_r300218042
 
 

 ##########
 File path: 
client/src/main/java/org/apache/rocketmq/client/trace/AsyncTraceDispatcher.java
 ##########
 @@ -159,6 +164,10 @@ private DefaultMQProducer 
getAndCreateTraceProducer(RPCHook rpcHook) {
         return traceProducerInstance;
     }
 
+    private String genGroupNameForTrace() {
+        return TraceConstants.GROUP_NAME_PREFIX + "-" + this.group + "-" + 
this.type ;
 
 Review comment:
   @jonnxu 
   I am not sure we will benefit from making the groupNameForTrace global 
unique.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to