-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Scala Kinesis Enrich: log all bad rows #1722
Comments
Hey @fblundun do you mean logging the error just here: Or was there a different spot that you were thinking of logging at? |
Doing it there mostly works but it doesn't see bad rows caused by oversized events (which are only introduced here). So I think that the logging should either be done in the enrichAndStoreEvents method or the KinesisSink's storeEnrichedEvents method. This should only happen if the app is writing bad rows to Kinesis rather than stderr (since if bad events are being written to stderr logging adds nothing and pollutes stderr.) |
That makes sense! Okay I will add it to the KinesisSink only. Thanks for the clarification. |
This would make debugging a lot easier...
The text was updated successfully, but these errors were encountered: