conduktor.io ↗

KIP-437 — Custom replacement for MaskField SMT

Accepted Kafka 2.6 Connect

Extends the `MaskField` SMT to accept a configurable `replacement` value so masked fields can be replaced with a custom string or number (e.g. `***-***-****`) instead of the type's null equivalent. The original `MaskField` only replaced values with `null` or zero, making it unusable for PII redaction scenarios that require a recognizable sentinel value rather than nulling the field.

Details

AuthorValeria Vasylieva
StatusAccepted
Kafka Version2.6
JIRAKAFKA-6755
WikiView on Apache Wiki
Created2019-02-28
Last Modified2020-05-15
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.