Skip to content

DeadLetterPolicy supports specifying producerName #21441

@crossoverJie

Description

@crossoverJie

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

The current DeadLetterProducerName is generated randomly, and It is difficult to query related logs by producerName.

Solution

public class DeadLetterPolicy {

	...
	private String producerName;
}

Add a new field producerName in DeadLetterPolicy class.

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

Labels

type/enhancementThe enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions