Expand description
§faucet-source-oracle-cdc
Oracle Database change data capture for the
faucet-stream ecosystem, built on
LogMiner (DBMS_LOGMNR) over the online and archived redo logs.
Each committed transaction is emitted as one page of change envelopes
({op, schema, table, before, after, scn, commit_scn, xid, ts}, compatible
with the cdc_unwrap transform) bookmarked by SCN, so a resumed run
continues with no gap and no duplicate. Transactions are buffered until
their COMMIT; rolled-back work is never emitted. Missing redo fails the run
naming the lost SCN range. capture_resume_position returns the current
SCN for the snapshot → CDC handoff.
Runtime requirement: Oracle Instant Client must be installed where ODPI-C can load it. The database needs minimal supplemental logging (and all-column logging for full update images).
Structs§
- Oracle
CdcSource - Oracle LogMiner change-data-capture source.
- Oracle
CdcSource Config - Configuration for the Oracle LogMiner CDC source.
- Oracle
Connection Config - Connection settings shared by the Oracle source, CDC source and sink.
- Oracle
Tls - TCPS settings applied to a
host-form connection. - Position
- A resume position.
Enums§
- OnUnsupported
- What to do with a change LogMiner cannot render as SQL for a tracked table
(
UNSUPPORTEDrows, or a dictionary mismatch after the table’s structure changed since the redo was written). - Start
Position - Where to start mining on a fresh run (no persisted bookmark).
Constants§
- DESCRIPTOR
- The connector’s static descriptor (RFC 0013): its capabilities, answered from config alone.