Achilleus
Achilleus

Reputation: 1944

Kafka Connect when we have multiple queries

How can we use Kafka Connect when there are multiple tables to be inserted?

I am trying to implement Kafka connect sink to insert to multiple Oracle table.

Upvotes: 0

Views: 546

Answers (1)

Robin Moffatt
Robin Moffatt

Reputation: 32110

You can either define one JDBC Sink Connector per table, or a single JDBC Sink Connector with multiple topics specified - each topic will be written to a separate table. The table will take the topic name, which you can also map using the table.name.format option.

Upvotes: 2

Related Questions