Genuineh opened a new issue, #592:
URL: https://github.com/apache/rocketmq-clients/issues/592

   ### Programming Language of the Client
   
   C#
   
   ### Is Your Feature Request Related to a Problem?
   
   
你好,我发现事务消息下提供的回查方法是个同步方法,而我们的回查逻辑中包含异步调用。这里可能有死锁的风险,而规避死锁问题会带来额外的性能开销,希望能提供异步的回查方法。这里如果存在死锁风险,但需要使用方处理并不是一个很友好的选择,当然如果内部已经有机制能处理此问题,我觉得应该要说明一下,使用方无需考虑此问题
   以下是dotnet库暴露的回查方法
   ```
   public interface ITransactionChecker
   {
       TransactionResolution Check(MessageView messageView);
   }
   ```
   
   ### Describe the Solution You'd Like
   
   提供异步的回查接口方法
   
    Task<TransactionResolution> CheckAsync(MessageView messageView);
   
   ### Describe Alternatives You've Considered
   
   暂无
   
   ### Additional Context
   
   _No response_


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