admin管理员组文章数量:1430980
The Kafka producers in my application fail to write messages to Kafka after Kafka brokers are brought down then up.
Instead, this keeps getting printed:
.springframework.kafka.core.KafkaProducerException: Failed to send; nested exception is
.apache.kafkamon.errors.TimeoutException: Expiring 17 record(s) for test-topic-5:179287 ms has passed since batch creation
Once I restart the application, the Kafka producer is able to send messages successfully again. What is the reason send fails even though the brokers are brought back up? How do I get send to succeed without having to restart the application?
本文标签: javaKafka producers fail to send after kafka brokers are brought down then upStack Overflow
版权声明:本文标题:java - Kafka producers fail to send after kafka brokers are brought down then up - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745570239a2664003.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论