Skip to content

Commit

Permalink
[fix][doc] fix pulsar consumer name typo (#615)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
Co-authored-by: tison <[email protected]>
  • Loading branch information
allemas and tisonkun authored Jul 5, 2023
1 parent 86aa945 commit c703d2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/schema-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.11.x/schema-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-3.0.x/schema-get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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.
4. Start Pulsar.

0 comments on commit c703d2f

Please sign in to comment.