You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/07/17 02:41:08 UTC

[GitHub] [rocketmq-client-go] wenfengwang commented on a change in pull request #117: [#ISSUE 104] Support ACL

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:
users@infra.apache.org


With regards,
Apache Git Services