How to Rename multiple topic name from mapping

18 views
Skip to first unread message

Mukesh Kumar

unread,
Mar 13, 2023, 2:38:27 AM3/13/23
to debezium
Hello,

I have certain tables in source database for example -

table1, table2, table3.

I want to map the respective topics name from some mapping -

table1--> topic_1034
table2-->topic_8724
table3-->topic_number_3

Do we have some configuration in source connector which takes these mapping and create topic name accordingly.


Also - do we we have any transformations to convert topic name in lowercase ?

Thanks
Mukesh Kumar


Mukesh Kumar

unread,
Mar 16, 2023, 2:18:27 AM3/16/23
to debe...@googlegroups.com
Hello,

Any suggestions?

--
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/ffb564bb-ce1b-47f8-b360-3bc1ff9fb4e4n%40googlegroups.com.

Chris Cranford

unread,
Mar 17, 2023, 9:01:30 AM3/17/23
to debe...@googlegroups.com
This can easily be performed using an SMT.  Please take a look at the ByLogicalTableRouter [1], which can solve this problem easily.

Thanks,
Chris

[1]: https://debezium.io/documentation/reference/2.2/transformations/topic-routing.html
Reply all
Reply to author
Forward
0 new messages