Hi,
I am trying to setup debezium source connector against a oracle 11g DB server (Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production) and below is how my source json looks like, the source connector should fetch data changes from 3 tables(idctrd, idctrdleg and idccptytrd) to start with . Now I can see that the topic which is being created is 'testOracle' which I expected to be rather the individual table names. e.g idctrd, idctrdleg and idccptytrd as I am going to use these same names for the debezium sink connector(given below) we use to push data to another oracle 11g instance. We have earlier used the same source and sink config against a postgres source DB which has worked fine.
Question is - how can I fix this from the source config properties and are there any other changes recommended here to work against a oracle 11g instance apart from what we have used ? Thanks in advance.
Source config:
"connector.class": "io.debezium.connector.oracle.OracleConnector",
"tasks.max": "1",
"database.hostname": "*****",
"database.port": "1521",
"database.user": "**",
"database.password": "**",
"database.dbname": "**",
"
database.server.name": "**",
"table.include.list": "idctrd,idctrdleg,idccptytrd",
"topic.prefix": "testOracle",
"schema.history.internal.kafka.bootstrap.servers" : "kafka:29092",
"schema.history.internal.kafka.topic": "schema-changes.inventory",
"transforms": "topicRename",
"transforms.topicRename.type": "org.apache.kafka.connect.transforms.RegexRouter",
"transforms.topicRename.regex": ".*\\.(.*)",
"transforms.topicRename.replacement": "$1"
Sink config:
"connector.class": "io.debezium.connector.jdbc.JdbcSinkConnector",
"tasks.max": "1",
"connection.url": ****:1521/***",
"connection.username": "***",
"connection.password": "***",
"topics": "idctrd,idctrdleg,idccptytrd",
"schema.evolution": "basic",
"quote.identifiers": "false",
"insert.mode": "upsert",
"primary.key.mode": "record_key",
"primary.key.fields": "id"
Regards
Hrishi