-
Notifications
You must be signed in to change notification settings - Fork 190
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
[BUG] Data Prepper processor workers stop running when an error from the routes occurs #4883
Comments
I have tried to reproduce this in order to find the root cause. It does not appear to be exactly from throwing the exception on the routes, but possibly some side effect. I have this pipeline to attempt to reproduce, but it does not stall.
|
@dlvenable your example pipeline returns a different kind of exception. The original exception mentioned in the description says that the submission to executor service is rejected. This is usually done when the executor service is being shutdown. Are you sure that the original issue did not occur while the pipeline is getting shutdown? |
Describe the bug
If the routes for a sink fail, such as when the expression is invalid, the process worker running will stop running. This will lead to Data Prepper running without any process workers.
The buffer will fill up and Data Prepper will have effectively been shutdown.
To Reproduce
Expected behavior
I expect that Data Prepper will continue to run. One difficulty is what to do with the data. We could drop it or send it incorrectly somewhere.
Ideally, we can use the new
_default
route if available.Environment (please complete the following information):
Data Prepper 2.8
Additional context
This is a very similar issue to #4103, but is manifest through failures in the router and/or sinks.
The text was updated successfully, but these errors were encountered: