You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ti...@apache.org on 2023/07/05 11:33:44 UTC

[pulsar-site] branch main updated: [fix][doc] fix pulsar consumer name typo (#615)

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

tison 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 c703d2f15af [fix][doc] fix pulsar consumer name typo  (#615)
c703d2f15af is described below

commit c703d2f15af481401aa1e53ad3c69df673207526
Author: Allemand Sébastien <se...@gmail.com>
AuthorDate: Wed Jul 5 13:33:39 2023 +0200

    [fix][doc] fix pulsar consumer name typo  (#615)
    
    Signed-off-by: tison <wa...@gmail.com>
    Co-authored-by: tison <wa...@gmail.com>
---
 docs/schema-get-started.md                          | 2 +-
 versioned_docs/version-2.11.x/schema-get-started.md | 2 +-
 versioned_docs/version-3.0.x/schema-get-started.md  | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/schema-get-started.md b/docs/schema-get-started.md
index bbb4d2e9891..817cd601e0b 100644
--- a/docs/schema-get-started.md
+++ b/docs/schema-get-started.md
@@ -27,7 +27,7 @@ This example demonstrates how to construct a [bytes schema](schema-understand.md
 <TabItem value="Java">
 
 ```java
-Producer<byte[]> producer = PulsarClient.newProducer(Schema.BYTES)
+Producer<byte[]> producer = pulsarClient.newProducer(Schema.BYTES)
        .topic("my-topic")
        .create();
 Consumer<byte[]> consumer = pulsarClient.newConsumer(Schema.BYTES)
diff --git a/versioned_docs/version-2.11.x/schema-get-started.md b/versioned_docs/version-2.11.x/schema-get-started.md
index 3ffea5a24c3..8e4aed0c4f0 100644
--- a/versioned_docs/version-2.11.x/schema-get-started.md
+++ b/versioned_docs/version-2.11.x/schema-get-started.md
@@ -27,7 +27,7 @@ This example demonstrates how to construct a [bytes schema](schema-understand.md
 <TabItem value="Java">
 
 ```java
-Producer<byte[]> producer = PulsarClient.newProducer(Schema.BYTES)
+Producer<byte[]> producer = pulsarClient.newProducer(Schema.BYTES)
        .topic("my-topic")
        .create();
 Consumer<byte[]> consumer = pulsarClient.newConsumer(Schema.BYTES)
diff --git a/versioned_docs/version-3.0.x/schema-get-started.md b/versioned_docs/version-3.0.x/schema-get-started.md
index bbb4d2e9891..5066f836e84 100644
--- a/versioned_docs/version-3.0.x/schema-get-started.md
+++ b/versioned_docs/version-3.0.x/schema-get-started.md
@@ -27,7 +27,7 @@ This example demonstrates how to construct a [bytes schema](schema-understand.md
 <TabItem value="Java">
 
 ```java
-Producer<byte[]> producer = PulsarClient.newProducer(Schema.BYTES)
+Producer<byte[]> producer = pulsarClient.newProducer(Schema.BYTES)
        .topic("my-topic")
        .create();
 Consumer<byte[]> consumer = pulsarClient.newConsumer(Schema.BYTES)
@@ -953,4 +953,4 @@ To use your custom schema storage implementation, perform the following steps.
 
 3. Change the `schemaRegistryStorageClassName` configuration in the `conf/broker.conf` file to your custom factory class.
 
-4. Start Pulsar.
\ No newline at end of file
+4. Start Pulsar.