GitHub user leizhiyuan added a comment to the discussion: 
自定义sendMessageHook被执行多次?

使用了异步发送?异步发送的时候,hook确实会执行两次,异步里面一次,外面一次,但是外面因为sendResult为空,所以实际上执行了进去会直接跳出。

GitHub link: 
https://github.com/apache/rocketmq/discussions/7518#discussioncomment-8331088

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org

Reply via email to