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

Cherry-pick QueryLogger #9681 #9689

Open
wants to merge 3 commits into
base: 0.28.3-cc-docker-ksql.129.x
Choose a base branch
from

Conversation

vpapavas
Copy link
Member

@vpapavas vpapavas commented Nov 4, 2022

Description

Cherry-pick #9681
There were some conflicts, I addressed by removing code that is not available in 0.28.

Testing done

Describe the testing strategy. Unit and integration tests are expected for any behavior changes.

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

vvcephei and others added 2 commits November 4, 2022 15:36
* fix: use QueryLogger for logging queries

* anonymize processed queries

* logging for unparsable queries

* anonymized query handling logs

* anonymized received queries

* anonymized streaming query

* checkstyle

* prevent exception from querylogger

* don't include statement text in exception message

* don't include statement text in exception messages

* fix tests

* fix tests

* fix tests

* checkstyle

* checkstyle

* fix parser test

* fix tests

* checkstyle

* restore ability to print errors in CLI

* checkstyle

* checkstyle

* fix error code

* One more fix for RestoreCommandsCompactor

* Fix style bug

Co-authored-by: Alan Sheinberg <asheinberg@confluent.io>
@vpapavas vpapavas requested a review from a team as a code owner November 4, 2022 16:04
@@ -74,12 +74,20 @@ def _parse_changelog_with_duplicates(filename, release=None):

## verify header
if _is_header(line):
print('line {0} is header'.format(line))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vpapavas does this file need to change?

@Override
public String toString() {
return buildMessage(rawMessage, "<retracted>");
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlanConfluent @vpapavas Does this need to be in the final PR?

Copy link

cla-assistant bot commented Nov 15, 2023

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
0 out of 2 committers have signed the CLA.

❌ vvcephei
❌ vpapavas
You have signed the CLA already but the status is still pending? Let us recheck it.

@AlanConfluent AlanConfluent removed their request for review February 21, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants