Debezium MySQL Connector - column.mask.hash.v2 not working

161 views
Skip to first unread message

Vũ Quốc Phong

unread,
Jul 4, 2022, 1:31:29 PM7/4/22
to debezium
Hi there,

I have configured Debezium (via Kafka Connect) to read data from MySQL.

There are some PII columns that need to be masked.
When I used column.mask.hash.hashAlgorithm.with.salt.salt records' column got masked, but masked values were not match with other systems.

After reading debezium code, I decided to use column.mask.hash.v2.hashAlgorithm.with.salt.salt (which recommened in document) but I kept getting column's data in plain text (not masked).

Have anyone faced the same issues and may I know how you guys workaround it?

Thank you really much!

Vũ Quốc Phong

unread,
Jul 4, 2022, 1:50:19 PM7/4/22
to debezium
After digging more in Debezium source,
I doubt that this line:

should be: `column\\.mask\\.hash\\.v2\\.\\.` instead of `column\\.mask\\.hash.v2.\\.`, isn't it?

Chris Cranford

unread,
Jul 5, 2022, 9:45:35 AM7/5/22
to debe...@googlegroups.com, Vũ Quốc Phong
Hi Vu, could you please raise a Jira issue at https://issues.redhat.com/projects/DBZ, thanks!
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/61612029-4934-41c0-9498-9463399244b3n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages