chenliuyang1989 opened a new issue #748:
URL: https://github.com/apache/rocketmq-externals/issues/748


   First:
   For the message get from Rocketmq,
   we should use the context checkpoint  to insure the checkpointing and the 
emission of elements must never occur at the same time。
   If we use a seperate lock,it will not work。
   
![image](https://user-images.githubusercontent.com/4150132/126133890-21ec07ee-1cbb-48c8-8004-f55737b5f4f6.png)
   
   Second,we should keep the Atomic operation for the operation of emission of 
elements  and the operation of update the
   offset of rocketmq topic.
   
   
![image](https://user-images.githubusercontent.com/4150132/126134059-26128eb6-b033-40bc-b8eb-182e58895fbb.png)
   
   
   
   
   


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