Skip to content

[improve][client] Document that enableRetry is required for retry letter topic settings - #26286

Open
MsfPablo wants to merge 1 commit into
apache:masterfrom
MsfPablo:doc-enable-retry-deadletterpolicy
Open

[improve][client] Document that enableRetry is required for retry letter topic settings#26286
MsfPablo wants to merge 1 commit into
apache:masterfrom
MsfPablo:doc-enable-retry-deadletterpolicy

Conversation

@MsfPablo

@MsfPablo MsfPablo commented Aug 7, 2026

Copy link
Copy Markdown

Motivation

The deadLetterPolicy javadoc shows retry/DLQ configuration without mentioning that enableRetry(true) is required for the retry letter topic settings to take effect, which is misleading. Fixes #24775.

Modifications

Add a javadoc example on ConsumerBuilder#deadLetterPolicy showing enableRetry(true) alongside retryLetterTopic, and a cross-reference on ConsumerBuilder#enableRetry.

Assisted-by: Claude Code (Opus 5)

…ter topic settings

### Motivation

The `deadLetterPolicy` javadoc shows retry/DLQ configuration without mentioning
that `enableRetry(true)` is required for the retry letter topic settings to take
effect, which is misleading (apache#24775).

### Modifications

Add a javadoc example on `ConsumerBuilder#deadLetterPolicy` showing
`enableRetry(true)` alongside `retryLetterTopic`, and a cross-reference on
`ConsumerBuilder#enableRetry`.

Assisted-by: Claude Code (Opus 5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Doc] Pulsar consumer config is missing to enable retry while mentioning retryletter config

1 participant