This is an automated email from the ASF dual-hosted git repository.
lhotari 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 5f39d5c26a5 docs: Add missing enableRetry configuration to
producerBuilderCustomizer DeadLetterPolicy example (#1041)
5f39d5c26a5 is described below
commit 5f39d5c26a54549ddecbb77d098d856f33adacd8
Author: sundar-ka <[email protected]>
AuthorDate: Mon May 4 14:28:38 2026 +0530
docs: Add missing enableRetry configuration to producerBuilderCustomizer
DeadLetterPolicy example (#1041)
---
docs/concepts-messaging.md | 1 +
versioned_docs/version-4.0.x/concepts-messaging.md | 1 +
versioned_docs/version-4.2.x/concepts-messaging.md | 1 +
3 files changed, 3 insertions(+)
diff --git a/docs/concepts-messaging.md b/docs/concepts-messaging.md
index 6f35365d3ad..c9df4ecb72c 100644
--- a/docs/concepts-messaging.md
+++ b/docs/concepts-messaging.md
@@ -377,6 +377,7 @@ Consumer<byte[]> consumer =
pulsarClient.newConsumer(Schema.BYTES)
.topic("my-topic")
.subscriptionName("my-subscription")
.subscriptionType(SubscriptionType.Shared)
+ .enableRetry(true)
.deadLetterPolicy(DeadLetterPolicy.builder()
.maxRedeliverCount(maxRedeliveryCount)
.deadLetterTopic("my-dead-letter-topic-name")
diff --git a/versioned_docs/version-4.0.x/concepts-messaging.md
b/versioned_docs/version-4.0.x/concepts-messaging.md
index dcb6c73a0da..5368cfb260f 100644
--- a/versioned_docs/version-4.0.x/concepts-messaging.md
+++ b/versioned_docs/version-4.0.x/concepts-messaging.md
@@ -375,6 +375,7 @@ Consumer<byte[]> consumer =
pulsarClient.newConsumer(Schema.BYTES)
.topic("my-topic")
.subscriptionName("my-subscription")
.subscriptionType(SubscriptionType.Shared)
+ .enableRetry(true)
.deadLetterPolicy(DeadLetterPolicy.builder()
.maxRedeliverCount(maxRedeliveryCount)
.deadLetterTopic("my-dead-letter-topic-name")
diff --git a/versioned_docs/version-4.2.x/concepts-messaging.md
b/versioned_docs/version-4.2.x/concepts-messaging.md
index c5cc2e8cea5..eb303d39a63 100644
--- a/versioned_docs/version-4.2.x/concepts-messaging.md
+++ b/versioned_docs/version-4.2.x/concepts-messaging.md
@@ -377,6 +377,7 @@ Consumer<byte[]> consumer =
pulsarClient.newConsumer(Schema.BYTES)
.topic("my-topic")
.subscriptionName("my-subscription")
.subscriptionType(SubscriptionType.Shared)
+ .enableRetry(true)
.deadLetterPolicy(DeadLetterPolicy.builder()
.maxRedeliverCount(maxRedeliveryCount)
.deadLetterTopic("my-dead-letter-topic-name")