You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/01/05 13:53:16 UTC

[GitHub] [rocketmq-client-go] maixiaohai opened a new issue #585: [Trace] [Enhancement] Add ClientHost and GroupName to tracebean

maixiaohai opened a new issue #585:
URL: https://github.com/apache/rocketmq-client-go/issues/585


   1. Please describe the issue you observed:
   
       - What did you do (The steps to reproduce)?
           I used trace example to produce and consume messages.
       - What did you expect to see?
           Check the message trace on console and find the correct **storeHost** and **groupName**
       - What did you see instead?
           The response as follows , the **storeHost** is the console host, not the client host; the **groupName** in SubAfter message is empty
   ```{
       "status":0,
       "data":[
           {
               "msgId":"0AE830DD4A4F0000000011b799480001",
               "tags":"",
               "keys":"null",
               "storeHost":"xxx",
               "costTime":0,
               "msgType":"SubBefore",
               "offSetMsgId":"",
               "timeStamp":1609754334084,
               "topic":"",
               "groupName":"zx_tst",
               "status":"Sucess"
           },
           {
               "msgId":"0AE830DD4A4F0000000011b799480001",
               "tags":"",
               "keys":"null",
               "storeHost":"xxx",
               "costTime":0,
               "msgType":"SubAfter",
               "offSetMsgId":"",
               "timeStamp":1609755807542,
               "topic":"",
               "groupName":"",
               "status":"Sucess"
           }
       ],
       "errMsg":null
   } 
   ```
   2. Please tell us about your environment:
   
        - What is your OS?
   
        - What is your client version?
                 2.1.0
        - What is your RocketMQ version?
                 4.7.0
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
          When rmq broker update to version 4.8.0, the added trace message filed will be decoded and show up. 
         The console version is 2.0.


----------------------------------------------------------------
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:
users@infra.apache.org