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
| Author | Valeria Vasylieva |
| Status | Accepted |
| Kafka Version | 2.6 |
| JIRA | KAFKA-6755 |
| Wiki | View on Apache Wiki |
| Created | 2019-02-28 |
| Last Modified | 2020-05-15 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.