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 2022/08/12 03:14:49 UTC

[GitHub] [rocketmq-client-go] anjieych opened a new issue, #890: [rpc] Receive reply message with empty body

anjieych opened a new issue, #890:
URL: https://github.com/apache/rocketmq-client-go/issues/890

   
   **BUG REPORT**  
   1. Please describe the issue you observed:
   
       - consumer send reply message (eg: "This's my answer") with RPC mode.
   
       - producer shoud get response message which body is "This's my answer" .
   
       - producer received reply message with empty body.
   
   2. Please tell us about your environment:
   
        - mac 、centos、ubuntu
   
        - client V2.1.1
   
        - RocketMQ V4.9.2
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
   
   **FEATURE REQUEST**
   
   1. The replyContent should be assigned to the Body field of the return value replyMessage in the function CreateReplyMessage,but  it's not.
    [			replyMessage, err := consumer.CreateReplyMessage(msg, replyContent)](url)
   
   2. or, assign the replyContent to the Body field of replyMessage after call function CreateReplyMessage in manual before send out,like this:		
   replyMessage, err := consumer.CreateReplyMessage(msg, replyContent)
   ...
   replyMessage.Body=replyContent
   ...
   // send out
   


-- 
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: dev-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org