flink-cdc
flink-cdc copied to clipboard
[oracle] let oracle-cdc connect to PDB CDB old non-CDB successfully
[oracle] The general dbname should be SERVICE_NAME but not INSTANCE_NAME in the lsnrctl status output, especially connect to PDB in CDB it must be SERVICE_NAME now, of course we should support both of the two features in the future.
And with this change can resolve the ERROR: oracle.net.ns.NetException: Invalid number format for port number when oracle listener does not support SID like PDB
cc @leonardBang this PR is in version 2.2.0, but not merge.
Supported in 2.3, see https://github.com/ververica/flink-cdc-connectors/issues/1244