测试新发布的Flink CDC 2.1 连接Oracle 19C,端口号解析报错 #689
Unanswered
outman0701
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
按官方文档的指导,使用flink-sql-connector-oracle-cdc-2.1.0.jar连接Oracle 19C,在flink sql 中创建oracle cdc 表时,端口号解析报错。
Flink SQL> CREATE TABLE t_vsat_ship_conf(vessel_id int not null,node_code string,node_name string,corp_name string,PRIMARY KEY(vessel_id) NOT ENFORCED) WITH ('connector' = 'oracle-cdc','hostname' = '192.168.16.209','port' = '1521','username' = 'flinkuser','password' = 'flinkpw','database-name' = '/ZDXT','schema-name' = 'flinkuser','table-name' = 't_vsat_ship_conf');
[INFO] Execute statement succeed.
Flink SQL> select * from t_vsat_ship_conf;
[ERROR] Could not execute SQL statement. Reason:
oracle.net.ns.NetException: Invalid number format for port number
Beta Was this translation helpful? Give feedback.
All reactions