lizhanhui commented on PR #4446:
URL: https://github.com/apache/rocketmq/pull/4446#issuecomment-1153539852

   @dongeforever This pull intends to keep RPCHooks as it is. Third-party 
implementations will continue to work as expected.
   Internally, RPCHooks will be wrapped to Handler, which will have 
better-defined APIs and deliver neat and clear semantics.
   
   Further, we hope new plugins are developed on top of the new interface, 
bringing them fewer doubts during their development at error handling, logic 
control, etc.
   
   In addition, this PR solves other closely related defects: 
   on the server-side,  post-hooks will get executed when ctx.writeAndFlush is 
used, as is also pointed out by @duhenglucky
   on the client-side, post-hooks are executed for the async code path;


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