pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mme...@apache.org
Subject [incubator-pulsar] branch master updated: change ID() to Payload (#2117)
Date Mon, 09 Jul 2018 21:52:49 GMT
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/incubator-pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new cd35677  change ID() to Payload (#2117)
cd35677 is described below

commit cd35677131008d1fb3ee5400c112fba6f357d105
Author: Yuto Furuta <mzq6mft9zz@gmail.com>
AuthorDate: Tue Jul 10 06:52:47 2018 +0900

    change ID() to Payload (#2117)
---
 site/docs/latest/clients/go.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/docs/latest/clients/go.md b/site/docs/latest/clients/go.md
index 2c6252b..c50a516 100644
--- a/site/docs/latest/clients/go.md
+++ b/site/docs/latest/clients/go.md
@@ -182,7 +182,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("Message %s successfully published", msg.Payload)
         })
     }
 }


Mime
View raw message