debezium different column data syncing

65 views
Skip to first unread message

Sanat Talwar

unread,
May 24, 2019, 9:57:29 AM5/24/19
to debezium
Yeah My use case is that my source and destination tables will contain 3 rows and if i want to change a column name in my source table i want that that column data to get synced in destination table with old column name only. 
Can we achieve this?

Gunnar Morling

unread,
May 24, 2019, 10:02:48 AM5/24/19
to debezium
Yes, you can achieve that using a custom SMT (single message transform) which renames the field so it uses the old name.

There's also a feature request for supporting such SMT with Debezium out of the box: https://issues.jboss.org/browse/DBZ-921. Perhaps you could provide a pull request with such implementation?

Cheers,

--Gunnar
Reply all
Reply to author
Forward
0 new messages