CzyerChen commented on issue #11752:
URL: https://github.com/apache/skywalking/issues/11752#issuecomment-1898199325

   Have a problem that how to recover context when sending messages one by one 
and consuming messages in batches.
   Normally, Producer sends one message and MessageListener consumes 
Individually, so the producer is exit and consumer is entry, they matched to 
show the context.
   A produced one, and A consumed one.
   <img width="253" alt="image" 
src="https://github.com/apache/skywalking/assets/22817918/f9989b8c-95d4-4148-adb7-f7fdf8c5b9ad";>
   
   But several producers send messages to different topics and  
`SimpleConsumer`( provided in `rocketmq-client-java`) consumes messages with 
many topics manually in batches, whether the initial producer and consumer have 
to be referred.
   A produced one and produced one, and B consumed two in batches
   <img width="299" alt="image" 
src="https://github.com/apache/skywalking/assets/22817918/8b9e25e0-c9c8-42fd-a865-1611c197fc56";>
    
   


-- 
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]

Reply via email to