You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use @RetryableTopic, the errorHandler configuration of @KafkaListener does not take effect and is replaced with SeekToCurrentErrorHandler, I want to print the error stack trace. How should I configure?
It's a bug; the error handler is not set up when it's retryable.
It's not actually replaced; the STCEH is a container error handler used to handle the retries. The errorHandler is a KafkaListenerErrorHandler and it is (incorrectly) ignored.
The KLEH must re-throw the exception to make the retries work.
When I use @RetryableTopic, the errorHandler configuration of @KafkaListener does not take effect and is replaced with SeekToCurrentErrorHandler, I want to print the error stack trace. How should I configure?
The text was updated successfully, but these errors were encountered: