Skip to content

KafkaHeaders.DLT_EXCEPTION_FQCN is always a KafkaListenerExecutionException #1882

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

Closed
jbotuck opened this issue Jul 23, 2021 · 1 comment · Fixed by #1896
Closed

KafkaHeaders.DLT_EXCEPTION_FQCN is always a KafkaListenerExecutionException #1882

jbotuck opened this issue Jul 23, 2021 · 1 comment · Fixed by #1896
Assignees
Milestone

Comments

@jbotuck
Copy link

jbotuck commented Jul 23, 2021

When using the dead letter recoverer, KafkaHeaders.DLT_EXCEPTION_FQCN is almost always a KafkaListenerExecutionException. This makes the header less helpful than it could be. Is there any way we can add a header for the cause of the exception?

@garyrussell garyrussell added this to the Backlog milestone Jul 23, 2021
@garyrussell
Copy link
Contributor

This is a reasonable request; you can, however, see the cause in the stack trace header.

@garyrussell garyrussell self-assigned this Jul 29, 2021
@garyrussell garyrussell modified the milestones: Backlog, 2.8.0-M2 Jul 29, 2021
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Jul 30, 2021
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Jul 30, 2021
garyrussell added a commit to garyrussell/spring-kafka that referenced this issue Jul 30, 2021
artembilan pushed a commit that referenced this issue Jul 30, 2021
Resolves #1882

* Checkstyle fixes.
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.

2 participants