-
Notifications
You must be signed in to change notification settings - Fork 174
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
Kafka server: Message was too large, server rejected it to avoid allocation error #422
Comments
Hey @aditya-msd , currently there is no possibility to drop those messages, because it rarely happens and if it does, the processor must solve its underlying issue (or it will corrupt its own data or lose data). |
For sidestepping :
Also you mentioned , Else I have to figure some other means to detect this . |
My point actually was that there is currently no way to detect or handle a failing emit. The processor shuts down, thats it. But we could build one, it doesn't sound too hard to do. |
I am getting kafka server: Message was too large, server rejected it to avoid allocation error.
Below are the logs that indicate the same .
This is causing the processor to not commit and go into a loop sort of situation and blocking other messages in the topic .
Is there any way to determine or catch the errors .
Increasing the topic size solves the issue , but I would like is to determine and prevent the loop . If this error happens , then I can side step the processing and prevent the loop and continue with the processing as usual.
The text was updated successfully, but these errors were encountered: