Skip to content

Conversation

@crossoverJie
Copy link
Member

Fixes #21441
Related PR: #21507

Motivation

Add producerName for dead letter producer, easier to locate problems.

Modifications

.producerName(String.format("%s-%s-DLQ", this.topicName, this.subscription))

When creating a deadLetterProducer, specify the producerName to replace the randomly generated name.

Verifying this change

  • Make sure that the change passes the CI checks.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: crossoverJie#16

@github-actions github-actions bot added the doc-required Your PR changes impact docs and you will update later. label Nov 17, 2023
@RobertIndie RobertIndie added this to the 3.2.0 milestone Nov 17, 2023
@Technoboy- Technoboy- added the release/important-notice The changes which are important should be mentioned in the release note label Nov 20, 2023
@RobertIndie RobertIndie merged commit c87cfb3 into apache:master Nov 21, 2023
RobertIndie pushed a commit to apache/pulsar-client-go that referenced this pull request Nov 24, 2023
### Motivation

To keep consistent with the Java client.

Releted PR: apache/pulsar#21589

*Explain here the context, and why you're making that change. What is the problem you're trying to solve.*

### Modifications

Set DLQ producerName `%s-%s-DLQ`
RobertIndie added a commit to apache/pulsar-site that referenced this pull request Nov 27, 2023
This PR adds doc for apache/pulsar#21589

Co-authored-by: Zike Yang <[email protected]>

---------

Co-authored-by: Zike Yang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required Your PR changes impact docs and you will update later. release/important-notice The changes which are important should be mentioned in the release note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DeadLetterPolicy supports specifying producerName

3 participants