You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/07/25 14:19:16 UTC

[GitHub] [pulsar] wolfstudy opened a new pull request #4811: [Issue: 3161]Return Message ID for send

wolfstudy opened a new pull request #4811: [Issue: 3161]Return Message ID for send
URL: https://github.com/apache/pulsar/pull/4811
 
 
   Signed-off-by: xiaolong.ran <ra...@gmail.com>
   
   Fixes #3161 #3180 
   
   ### Motivation
   
   The `Send(context.Context, ProducerMessage) error` should return `MessageID`.
   
   ```
    SendAsync(context.Context, ProducerMessage, func(ProducerMessage, error))
   ```
   
   In here, we shouldn't return `ProducerMessage`, because the value is nil.
   

----------------------------------------------------------------
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