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/06/14 17:01:31 UTC

[GitHub] [pulsar] Jim-Lambert-Bose opened a new issue #4537: Go client: Missing ability to retrieve MessageID from pulsar.ProducerMessage

Jim-Lambert-Bose opened a new issue #4537: Go client: Missing ability to retrieve MessageID from pulsar.ProducerMessage
URL: https://github.com/apache/pulsar/issues/4537
 
 
   **Describe the bug**
   There's no way to get the MessageID after publishing a pulsar.ProducerMessage.
   This should be available and is documented here: https://pulsar.apache.org/docs/en/client-libraries-go/#producer-operations
   ```
    // Attempt to send the message asynchronously and handle the response
           producer.SendAsync(ctx, asyncMsg, func(msg pulsar.ProducerMessage, err error) {
               if err != nil { log.Fatal(err) }
   
               fmt.Printf("Message %s succesfully published", msg.ID())
           })
   ```
   **Expected behavior**
   I think, this is a defect and is available in other clients that wrap the C++ library
   
   **Additional context**
   pulsar v2.3.1 go client and libpulsar

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