Hi,
Context:
I have created a source with my test Oracle database then
sink to Postgres.
The database is on cloud and public.
But when I POST to a connector it show the following issue:
$ curl -i -X POST -H "Accept:application/json" -H
"Content-Type:application/json" localhost:8083/connectors
-d @source_oracle.json
HTTP/1.1 400 Bad Request
Date: Tue, 28 Mar 2023 04:46:57 GMT
Content-Type: application/json
Content-Length: 279
Server: Jetty(9.4.44.v20210927)
{"error_code":400,"message":"Connector configuration is
invalid and contains the following 1 error(s):\nUnable to
connect: Failed to resolve Oracle database version\nYou
can also find the above list of errors at the endpoint
`/connector-plugins/{connectorType}/config/validate`"}
I'm currently using the 11g XE.
My json is connected as follow:
{
"name": "inventory-connector",
"config": {
"connector.class" : "io.debezium.connector.oracle.OracleConnector",
"tasks.max" : "1",
"topic.prefix" : "server1",
"database.user" : "sys",
"database.password" : "oracle",
"database.dbname" :"XE",
"database.history.kafka.bootstrap.servers" : "kafka:9092",
"database.history.kafka.topic": "schema-changes.inventory",
"database.connection.adapter": "logminer",
"table.include.list" : "INVENTORY.CUSTOMERS, INVENTORY.PRODUCTS, INVENTORY.ORDERS",
"database.schema": "inventory"
}
}
I can connect via Dbeaver but can not connected via Kafka
Connect
My solution was to change from "database.dbname" :"XE"
to "database.sid" :"XE"
But then 1 faced other error:
error_code":400,"message":"Connector configuration is
invalid and contains the following 1 error(s):\nA value is
required\nYou can also find the above list of errors at
the endpoint
`/connector-plugins/{connectorType}/config/validate`"}
Is there any hint or solution to fix that?
Thanks in advance,
Anh.
--
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/afcf59a5-61a6-4ff2-b0f2-01534851ac8an%40googlegroups.com.