How to identify the topic associated with exceptions in ExceptionHandler? #25761
Unanswered
praveengopalan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am using DotPulsar with a custom ExceptionHandler and retrying exceptions using FaultAction.Retry.
In some cases, especially authorization failures like:
Client is not authorized to Lookup
the exception does not contain the topic information.
My application creates multiple consumers dynamically, so it is difficult to identify which topic caused the exception.
Questions:
Is there any way to get the topic name from the ExceptionHandler context?
Are there any recommended patterns for correlating exceptions with topics when using FaultAction.Retry?
Are there plans to enrich exception context with topic/subscription metadata?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions