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

[cdc] Add option to prevent logging of corrupted records #4918

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

atallahade
Copy link

@atallahade atallahade commented Jan 15, 2025

Purpose

CDC records in a String format, that failed to be converted to their proper Java type, are currently logged. This can be undesirable if the record contains sensitive data or personally identifiable information.
This change allows setting a table option to redact the data from logs.

I could also rename the option to be more generic and not specific to corrupted records, e.g. cdc.allow-record-logging

Linked issue: close #4290

Tests

Please let me know if it should (and how it can) be tested.

API and Format

Documentation

@atallahade atallahade force-pushed the prevent_cdc_corrupt_record_logging branch from c3ef625 to a578d95 Compare January 15, 2025 17:00
@atallahade atallahade changed the title [cdc] Allow preventing corrupted record logging [cdc] Add option to prevent logging of corrupted records Jan 15, 2025
@wwj6591812
Copy link
Contributor

+1

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.

[Feature] Avoid logging full rows with sensitive information on conversion failure in Flink CDC
2 participants