xujianhai666 opened a new pull request #85: add interceptor.
URL: https://github.com/apache/rocketmq-client-go/pull/85
 
 
   ## What is the purpose of the change
   
   Add interceptor for producer.
   
   ## Brief changelog
   
   1. refactor the producer initialization. using option instead of a complete 
ProducerOption, which is confusing while using the API.
   2. add Invoker and Interceptor func type for send operation. The invoke 
represent a send operation, while the Interceptor will intercept the invoke for 
logging、metrics or  retry.
   
   ## Verifying this change
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to