[Feature] (streaming-job) Support Oracle as a CDC data source
Search before asking
- I had searched in the issues and found no similar issues.
Description
Streaming Job (introduced in 4.1, extended in 4.1.4 with OceanBase via #65588) currently supports MySQL, PostgreSQL, OceanBase and S3 as data sources. However, Oracle is still one of the most widely used core OLTP databases, especially in traditional manufacturing enterprises (ERP, MES, master data systems), and there is no native continuous-load path from Oracle to Doris.
Current workarounds are all heavier:
- JDBC Catalog: batch only, no incremental CDC
- Flink CDC (Oracle, LogMiner) + Flink Doris Connector: requires a separate Flink cluster, which is exactly what Streaming Job aims to eliminate
- DataX / SeaTunnel / CloudCanal: external sync platform
Proposal
Extend cdc_stream() TVF / CREATE JOB ... ON STREAMING to support Oracle as a data source, consistent with the existing MySQL/PostgreSQL support:
- Full + incremental sync based on Oracle LogMiner (like Flink CDC's Oracle connector)
- Both SQL Mapping Sync and Auto Table Creation Sync, with the same DDL behavior as MySQL (ADD/DROP COLUMN sync, at-least-once semantics)
Since the CDC client (fs_brokers/cdc_client) already abstracts the CDC reader for MySQL-compatible and PostgreSQL sources, adding an Oracle reader would fit the existing design, similar to how OceanBase support was added in #65588.
Use case
Traditional manufacturing companies generally keep a large Oracle footprint for their core OLTP systems. Incremental sync of these tables (master data, transaction tables) into Doris for real-time analytics currently forces them to deploy and maintain a separate Flink cluster or a third-party sync tool, which raises the operational cost significantly compared to the built-in Streaming Job path.
Related issues
- #56191 Introduce streaming job
- #58896 Extend streaming job to support MySQL synchronization
- #21796 Whole-database sync integration for SQL Server (similar ask)
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Source: apache/doris