xujianhai666 commented on a change in pull request #117: [ISSUE #104] Support
ACL
URL: https://github.com/apache/rocketmq-client-go/pull/117#discussion_r304204220
##########
File path: internal/remote/remote_client.go
##########
@@ -192,6 +196,18 @@ func (c *RemotingClient) createScanner(r io.Reader)
*bufio.Scanner {
}
func (c *RemotingClient) sendRequest(conn net.Conn, request *RemotingCommand)
error {
+ var err error
+ if c.interceptor != nil {
+ err = c.interceptor(context.Background(), request, nil,
func(ctx context.Context, req, reply interface{}) error {
Review comment:
done
----------------------------------------------------------------
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