org.apache.kafka.connect.errors.ConnectException:更改事件生产者中发生了异常.该连接器将被停止 [英] org.apache.kafka.connect.errors.ConnectException: An exception occurred in the change event producer. This connector will be stopped

查看:1166
本文介绍了org.apache.kafka.connect.errors.ConnectException:更改事件生产者中发生了异常.该连接器将被停止的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在kafka中使用postgres源连接器.它会在一段时间内正常工作,并突然因上述错误而停止.如果有人知道此问题,请提供帮助.

Using postgres source connector in kafka. It works properly for some time and suddently stops with above error. Please assist if someone knows this issue.

推荐答案

如果数据库不可用,并且是修复该问题以重新启动连接器的唯一方法,则会发生这种情况.我建议您检查数据库日志,看看数据库是否关闭或拒绝与Kafka Connect的连接

This happens if the database is not available and the only way to fix it to restart the connector. I would advise you to check the database logs and see if database is going down or refusing connection to Kafka Connect

这篇关于org.apache.kafka.connect.errors.ConnectException:更改事件生产者中发生了异常.该连接器将被停止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆