Skip to content
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

Add DLPR Creator Function to DeadLetterPublishingRecovererFactory #2711

Closed
garyrussell opened this issue Jun 21, 2023 Discussed in #2265 · 0 comments · Fixed by #2712
Closed

Add DLPR Creator Function to DeadLetterPublishingRecovererFactory #2711

garyrussell opened this issue Jun 21, 2023 Discussed in #2265 · 0 comments · Fixed by #2712
Assignees
Milestone

Comments

@garyrussell
Copy link
Contributor

Discussed in #2265

Originally posted by Watlas May 6, 2022
Hello, I was reading the documentation and could not identify a solution to the following problem:

I want to add new attributes to the message before sending to the DLT topic, injecting this at the configuration level, I want to add attributes to the message body coming from the exception itself.

I believe what I'm looking for is a type of interceptor that allows me to change data.

Also https://stackoverflow.com/questions/76518611/how-to-edit-message-data-before-sending-to-dlt-in-spring-kafka

@garyrussell garyrussell self-assigned this Jun 21, 2023
@garyrussell garyrussell added this to the 3.0.9 milestone Jun 21, 2023
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Jun 21, 2023
Resolves spring-projects#2711

Previously, it was not easy to provide custom DLPRs, for example to override
`createProducerRecord`.
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Jun 21, 2023
Resolves spring-projects#2711

Previously, it was not easy to provide custom DLPRs, for example to override
`createProducerRecord`.
artembilan pushed a commit that referenced this issue Jun 21, 2023
Resolves #2711

Previously, it was not easy to provide custom DLPRs, for example to override
`createProducerRecord`.

* Fix Javadocs.
garyrussell added a commit that referenced this issue Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant