flinksql设置并发后,会报错Database connection failed when starting copy(postgres-cdc)
cncaizheng opened this issue · comments
Please don't check the box below
- I'm aware that bugs and new features should be reported on Apache Jira or Flink mailing list instead of here
Again, please don't check the box below
- I'm aware that new issues on GitHub will be ignored and automatically closed.
请不要勾选以下选项
- 我已知悉缺陷和新功能需要在 Apache Jira 或 Flink 邮件列表中反馈,而不是在这里创建新 issue。
也请不要勾选以下选项
- 我已知悉 GitHub 上的新 issue 会被忽略且自动关闭。
flinksql使用postgres-cdc连接postgresql,任务在执行3-4分钟会报错中断,日志提示Database connection failed when starting copy,查看postgresql数据库日志,提示插槽名称重复,重复的名称以_1、_2、_3、...的格式,修改插槽名称后,可能会修复,也可能继续出现上述问题,单线程则没有这个问题
遇到的生产问题,请大佬们指导下如何排查和修复,比较紧急,感谢
If the issue still exists, please report it on Apache Jira under the project Flink
, using the component tag Flink CDC
. Thank you!