From commits-return-10725-archive-asf-public=cust-asf.ponee.io@pulsar.incubator.apache.org Mon Jul 9 23:52:51 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 447B1180676 for ; Mon, 9 Jul 2018 23:52:51 +0200 (CEST) Received: (qmail 28118 invoked by uid 500); 9 Jul 2018 21:52:50 -0000 Mailing-List: contact commits-help@pulsar.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.incubator.apache.org Delivered-To: mailing list commits@pulsar.incubator.apache.org Received: (qmail 28109 invoked by uid 99); 9 Jul 2018 21:52:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2018 21:52:50 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id D4F6381EF4; Mon, 9 Jul 2018 21:52:49 +0000 (UTC) Date: Mon, 09 Jul 2018 21:52:49 +0000 To: "commits@pulsar.apache.org" Subject: [incubator-pulsar] branch master updated: change ID() to Payload (#2117) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153117316973.13853.14027525021989518351@gitbox.apache.org> From: mmerli@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: incubator-pulsar X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 704714673a8dcfdf8a2b2106f1b3c9e45341cbe7 X-Git-Newrev: cd35677131008d1fb3ee5400c112fba6f357d105 X-Git-Rev: cd35677131008d1fb3ee5400c112fba6f357d105 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated 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 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) }) } }