yuz10 commented on a change in pull request #3137:
URL: https://github.com/apache/rocketmq/pull/3137#discussion_r668476980
##########
File path:
client/src/main/java/org/apache/rocketmq/client/trace/TraceDataEncoder.java
##########
@@ -104,9 +104,8 @@
subAfterContext.setContextCode(Integer.parseInt(line[6]));
}
// compatible with the old version
- if (line.length >= 9) {
+ if (line.length >= 8) {
subAfterContext.setTimeStamp(Long.parseLong(line[7]));
- subAfterContext.setGroupName(line[8]);
Review comment:
The code here is used for compatible reason, if the message is produced
by old versions of producer, there will be group name.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]