Skip to content

GH-2528: DLPR - Support Header Replacement #2529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 3, 2023

Conversation

garyrussell
Copy link
Contributor

Resolves #2528

When adding headers in a DLPR headers function, header values accumulate because Kafka headers support multiple values.

Provide a mechanism to allow adding a header to replace any existing header with that name.

cherry-pick to 2.9.x

Resolves spring-projects#2528

When adding headers in a DLPR headers function, header values accumulate
because Kafka headers support multiple values.

Provide a mechanism to allow adding a header to replace any existing header
with that name.

**cherry-pick to 2.9.x**
@artembilan artembilan merged commit 425f837 into spring-projects:main Jan 3, 2023
artembilan pushed a commit that referenced this pull request Jan 3, 2023
Resolves #2528

When adding headers in a DLPR headers function, header values accumulate
because Kafka headers support multiple values.

Provide a mechanism to allow adding a header to replace any existing header
with that name.

**cherry-pick to 2.9.x**

* Fix javadoc.
@artembilan
Copy link
Member

... and cherry-picked to 2.9.x

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.

Add possibility to remove custom headers in method: addHeadersFunction(...) from DeadLetterPublishingRecoverer
2 participants