wenfengwang commented on a change in pull request #117: [#ISSUE 104] Support ACL
URL: https://github.com/apache/rocketmq-client-go/pull/117#discussion_r304199275
##########
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:
为啥会无法处理了?我已经测试过了,功能work
----------------------------------------------------------------
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