Skip to content
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

Separate data-logging from process-logging #1795

Open
blueedgenick opened this issue Aug 28, 2018 · 0 comments
Open

Separate data-logging from process-logging #1795

blueedgenick opened this issue Aug 28, 2018 · 0 comments
Labels
operability Issues pertaining to running and operating KSQL, notably in production user-experience

Comments

@blueedgenick
Copy link
Contributor

blueedgenick commented Aug 28, 2018

There seems to be an increasing number of instances where we are discussing how to handle and report (or not) various exceptions caused by a legal query against possibly-illegal data. For example:

  • requesting an array element which is out-of-bounds for a particular record
  • requesting a map element which doesn't exist
  • deserialization exceptions

For all such cases I believe the behavior in terms of, e.g. returning NULL for an impossible-to-reach element is correct.

The question arises about how/when we should notify teh user or operator that such a situation has occurred. Conceptually I class all of these as "data errors" and propose that they be directed to a dedicated logger for this purpose, perhaps creating a ksql-data-errors.log or similar. This helps to avoid cluttering the actual server log - which is monitored by an operator for what i would call "process problems" (jvm issues, real exceptions, etc.) - with problesm which may be handled by a different team and with less urgency as they are only "fixable" by changing data or altering queries which are, from a semantic perspective, already "correct".

@miguno miguno added user-experience operability Issues pertaining to running and operating KSQL, notably in production labels Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
operability Issues pertaining to running and operating KSQL, notably in production user-experience
Projects
None yet
Development

No branches or pull requests

2 participants