Kafka遇到30042ms has passed since batch creation plus linger time at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:94)

问题描述:

运行生产者线程的时候显示如下错误信息:

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

在自己部署Kafka时候遇到上面34100ms has passed since batch creation plus linger time at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:94)

问题排查:

1. 检查网络以及端口是否关闭:

telnet测试

2. 排查kafka配置文件

添加如下

Kafka遇到30042ms has passed since batch creation plus linger time at org.apache.kafka.clients.producer.internals.FutureRecordMetadata.valueOrError(FutureRecordMetadata.java:94)

3.启动后问题解决

问题思考:

由于没有对Kafka进行ip监听导致问题

上一篇:手机版WEB开发经验分享,手机版网站开发注意事项,网站自适应,手机版网站自适应,移动安卓APP自适应


下一篇:JSP网站开发基础总结《一》