-
Notifications
You must be signed in to change notification settings - Fork 136
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
Is There Any Exception Handler? #550
Comments
Hi, As far as i know there is no additional error handling in Parallel Consumer for errors stemming from Kafka Consumer poll calls - like the deserialization exception above. The Apache Kafka consumer doesn't have standard exception handlers for this scenario - the example above using ConcurrentKafkaListenerContainerFactory is from the Spring Framework. |
thank you for reply |
I believe there is - eventually - it makes sense to add it. Here are couple of related issues - #195 and #304. #304 suggests an one of the options to get around it - defer deserialization to the user function - Consume as byte[],byte[] and handle deserialization and exceptions yourself - there you can either skip failed message or implement DLQ etc... as opposed to wrapping Consumer and handling exceptions on poll(). |
https://developer.confluent.io/courses/kafka-streams/hands-on-error-handling/ |
If an error occurs while the conuser polls the message
example deserialize exception
the polling thread die. And after that, it doesn't work normally.
is there any exception handler like apache kafka
like this
The text was updated successfully, but these errors were encountered: