jdk 17 下,flink-sql 无法连接 postgresql #2417
Unanswered
ilwyiworld
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.
-
PostgreSQL 版本:15

JDK 版本:17
Flink 版本:1.17
flink-sql-connector-postgres-cdc 版本:2.4
按照官网的例子创建 PG 连接后,无法查询表:
Flink1.17 不支持 jdk 17,所有我在 flink-conf.xml 中添加了相关配置后,Flink 能正常运行:

而且在 Flink-SQL 的启动日志里面也看到了相关的配置信息:

所以只是单纯的 jdk 版本不匹配吗,还说跟 postgresql 版本也有关系
Beta Was this translation helpful? Give feedback.
All reactions