GitHub user praveengopalan created a discussion: How to identify the topic associated with exceptions in ExceptionHandler?
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! GitHub link: https://github.com/apache/pulsar/discussions/25761 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
