You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by "wanglei2@geekplus.com.cn" <wa...@geekplus.com.cn> on 2020/05/11 12:17:16 UTC
How to config multiple tables in kafka jdbc sink connector?
As described here: https://docs.confluent.io/current/connect/kafka-connect-jdbc/sink-connector/sink_config_options.html
connector.class=io.confluent.connect.jdbc.JdbcSinkConnector
tasks.max=1
topics=orders
connection.url=jdbc:xxx
connection.user=xxx
connection.password=xxx
insert.mode=upsert
pk.mode=record_value
pk.fields=id
If I want to config many tables and every table has different primary key, how can i do that?
Thanks,
Lei
wanglei2@geekplus.com.cn