Kafka配置中connections.max.idle.ms和max.poll.interval.ms之间的区别?
我还想知道,既然心跳请求是在Apache Kakfa Consumer中发送的,它是否也会影响connections.max.idle.ms?
如何处理 kafka-apache 客户端中的错误(生产者和消费者以及围绕它们的最佳实践)?
谢谢 :]
I also want to know that since heartbeat requests are sent in Apache Kakfa Consumer, does it also affect the connections.max.idle.ms?
How do you handle errors in kafka-apache client (Producer and Consumer and best practices around them)?
Thanks :]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
空闲套接字超时在轮询和心跳连接上重置,并且可以被视为任何协议请求的上限
如果空闲超时小于轮询间隔、会话超时或心跳间隔,那么您可能会看到一些丢失的网络连接
The idle socket timeout is reset on poll and heartbeat connections and could be considered an upper bound for any protocol request
If the idle timeout is less than either poll interval, session timeout, or heartbeat interval, then you might expect to see some dropped network connections