You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Daeho Kim (Jira)" <ji...@apache.org> on 2020/09/07 15:59:00 UTC

[jira] [Created] (KAFKA-10466) Add Regex option for replacement on MaskField SMT

Daeho Kim created KAFKA-10466:
---------------------------------

             Summary: Add Regex option for replacement on MaskField SMT 
                 Key: KAFKA-10466
                 URL: https://issues.apache.org/jira/browse/KAFKA-10466
             Project: Kafka
          Issue Type: Improvement
          Components: KafkaConnect
    Affects Versions: 2.6.0
            Reporter: Daeho Kim


The _org.apache.kafka.connect.transforms.MaskField_ SMT can use replacement for numeric and string type fields. it would be nice to optionally be able to masking with regular expression for string fields only. then it can mask the data partially.

 

Use cases : mask out the IP address just the last two parts. (ex. 123.45.67.89 -> 123.45.***.***)

 

Since this changes the API, and thus will require a KIP.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)