postgresql - 使用 postgresql 字段类型文本过滤 kafka 消息时出错
问题描述
错误 || WorkerSourceTask{id=ptl_connector-0} 任务引发了一个未捕获且不可恢复的异常 [org.apache.kafka.connect.runtime.WorkerTask] org.apache.kafka.connect.errors.ConnectException:在 org.apache 的错误处理程序中超出了容差。 kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:178) 在 org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execute(RetryWithToleranceOperator.java:104) 在 org.apache.kafka.connect。 runtime.TransformationChain.apply(TransformationChain.java:50) 在 org.apache.kafka.connect.runtime.WorkerSourceTask.sendRecords(WorkerSourceTask.java:320) 在 org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask. java:245) 在 org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:184) 在 org.apache.kafka.connect.runtime。
解决方案
您是否考虑过使用kafka连接器来做到这一点?也许这会有所帮助: https ://docs.confluent.io/current/connect/transforms/filter.html
推荐阅读
- python - 找不到 Django 2.0.5 404 错误页面
- r - 使用 sample() 进行随机抽样会产生意想不到的结果
- amazon-s3 - 将 circleci v.2 部署到 AWS S3 的困难
- asp.net - 尽管没有引用,但无法加载文件或程序集“Microsoft.ReportViewer.WebForms”
- php - 在php中获取IP地址不准确
- opencv - 相机投影矩阵主点
- php - SQL 注入参数在我的页面上不起作用
- python - 按列附加 numpy 数组
- ios - 如何在继承 SKSpritenode 的类中拥有图像
- python - 如何修复这个 FFMPEG 命令来录制音频?