This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 22db5b6  [issue:4537] Fix doc error of producer options (#4571)
22db5b6 is described below

commit 22db5b64a5540b4d8f01f9e9bfffc1a084e46eb0
Author: 冉小龙 <[email protected]>
AuthorDate: Thu Jun 20 23:30:53 2019 +0800

    [issue:4537] Fix doc error of producer options (#4571)
    
    Signed-off-by: xiaolong.ran <[email protected]>
---
 site2/docs/client-libraries-go.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site2/docs/client-libraries-go.md 
b/site2/docs/client-libraries-go.md
index 5b9aa6d..c9bb8a8 100644
--- a/site2/docs/client-libraries-go.md
+++ b/site2/docs/client-libraries-go.md
@@ -193,7 +193,7 @@ func main() {
         producer.SendAsync(ctx, asyncMsg, func(msg pulsar.ProducerMessage, err 
error) {
             if err != nil { log.Fatal(err) }
 
-            fmt.Printf("Message %s succesfully published", msg.ID())
+            fmt.Printf("the %s successfully published", string(msg.Payload))
         })
     }
 }

Reply via email to