You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi thanks for your repo. I want to do almost exactly this, except without the oracle target db. I just want to stream oracle -> postgres. I tried to run in my own set up which is a git clone of yours with slight modifications. I am running into an issue:
source:
{
"name": "oracle-source-connector",
"config": {
"connector.class": "io.debezium.connector.oracle.OracleConnector",
"tasks.max": "1",
"database.server.name": "orcl_dm",
"database.hostname": "HOST",
"database.port": "1521",
"database.user": "dbzuser",
"database.password": "dbz",
"database.dbname": "ora_dm",
"database.sid": "orcl_dm",
"database.oracle.version": "19",
"database.out.server.name": "dbzxout",
"database.history.kafka.bootstrap.servers": "kafka:9092",
"database.history.kafka.topic": "oracle.schema-changes",
"database.connection.adapter": "logminer",
"database.schema": "USERDATA",
"table.include.list": "USERDATA.DISK_SPACE",
"errors.log.enable": "true",
"snapshot.lock.timeout.ms": "5000",
"include.schema.changes": "true",
"snapshot.mode": "initial",
"decimal.handling.mode": "double"
}
}
**I noticed that if I add: `"database.history.store.only.captured.tables.ddl": true` it doesn't work at all.
CREATE TABLE userdata.disk_space (
id NUMBER GENERATED BY DEFAULT ON NULL AS IDENTITY (START WITH 1) NOT NULL PRIMARY KEY,
record_date DATE NOT NULL,
record_extracted clob NOT NULL
);
I was hoping if I can get some help on how to get the postgres data to be exact datatype as oracle. It is date object, clob and NUMBER. But in postgres as you can see, it is bigint, text, and dbl precision. Also, not sure why it can't copy clob properly, showing null. I'm a complete newb to this stuff and it is fascinating. Thanks for your time.
The text was updated successfully, but these errors were encountered:
hi thanks for your repo. I want to do almost exactly this, except without the oracle target db. I just want to stream oracle -> postgres. I tried to run in my own set up which is a git clone of yours with slight modifications. I am running into an issue:
source:
and sink:
the sql for the source oracle table:
And here is one row:
When I registered the source and sink to the connector, it seems ok and I made updates/deletes on oracle source, but on postgres side it looks like:
I was hoping if I can get some help on how to get the postgres data to be exact datatype as oracle. It is
date
object,clob
andNUMBER
. But in postgres as you can see, it isbigint
,text
, anddbl precision
. Also, not sure why it can't copy clob properly, showing null. I'm a complete newb to this stuff and it is fascinating. Thanks for your time.The text was updated successfully, but these errors were encountered: