Expiring 1 record(s) for canalEtl_hn-0: 30017 ms has passed since batch creation plus linger time

Posted 雅冰石

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Expiring 1 record(s) for canalEtl_hn-0: 30017 ms has passed since batch creation plus linger time相关的知识,希望对你有一定的参考价值。

一 问题描述

canal instance报错:

Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for canalEtl_hn-0: 30017 ms has passed since batch creation plus linger time

二 解决办法

修改canal server的/etc/hosts文件,添加kafka的ip和主机名对应关系,示例:

192.168.168.104 kf

 

以上是关于Expiring 1 record(s) for canalEtl_hn-0: 30017 ms has passed since batch creation plus linger time的主要内容,如果未能解决你的问题,请参考以下文章