You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/09/21 06:23:31 UTC

[pulsar-site] branch main updated: Docs sync done from apache/pulsar(#2b9ffac)

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

urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 51c85eff9be Docs sync done from apache/pulsar(#2b9ffac)
51c85eff9be is described below

commit 51c85eff9bee3a2bc9829b33a2bd884646f5999f
Author: Pulsar Site Updater <de...@pulsar.apache.org>
AuthorDate: Wed Sep 21 06:23:25 2022 +0000

    Docs sync done from apache/pulsar(#2b9ffac)
---
 site2/website-next/docs/about.md             | 8 +++++++-
 site2/website-next/docs/schema-understand.md | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/site2/website-next/docs/about.md b/site2/website-next/docs/about.md
index 17927aa6e3d..f1983734978 100644
--- a/site2/website-next/docs/about.md
+++ b/site2/website-next/docs/about.md
@@ -51,7 +51,13 @@ As you probably know, we are working on a new user experience for our documentat
 ## Help Improve These Documents
 ***
 
-You’ll notice an Edit button at the bottom and top of each page. Click it to open a landing page with instructions for requesting changes to posted documents. These are your resources. Participation is not only welcomed – it’s essential!
+You’ll notice an Edit button at the bottom and top of each page. Click it to open a landing page with instructions for requesting changes to posted documents. These are your resources. Participation is not only welcomed – it’s essential! 
+
+:::tip
+
+For how to make contributions to documentation, see [Pulsar Documentation Contribution Guide](https://docs.google.com/document/d/11DTnNPpvcPrebLkMAFcDEIFlD8ARD-k6F-LXoIwdD9Y/edit#).
+
+:::
 
 ## Join the Community!
 ***
diff --git a/site2/website-next/docs/schema-understand.md b/site2/website-next/docs/schema-understand.md
index 6eb2a396148..ed65c619ecd 100644
--- a/site2/website-next/docs/schema-understand.md
+++ b/site2/website-next/docs/schema-understand.md
@@ -278,7 +278,7 @@ Pulsar gets the schema definition from the predefined `struct` using an Avro lib
 
    ```java
    Consumer<User> consumer = client.newConsumer(Schema.AVRO(User.class)).subscribe();
-   User user = consumer.receive();
+   User user = consumer.receive().getValue();
    ```
 
 </TabItem>