You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2018/05/22 08:25:42 UTC

[GitHub] wu-sheng commented on issue #1254: Duplicate traceid in different request

wu-sheng commented on issue #1254: Duplicate traceid in different request
URL: https://github.com/apache/incubator-skywalking/issues/1254#issuecomment-390905751
 
 
   Hi, you need to adjust your description in English for world. Then, traceid is created for each request, based your the stack. 
   
   You are using Kafka, I assume from your screenshots. How do you create your root/first span ? And have you even stop it? 
   
   I think you should have some similar codes like this:
   
   ```
   while(true){
        span.create();
        kafka.comsue().....
        span.finish();
   }
   ```
   
   The create and finish will finish and clear the context as you expected and said.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services