Difference between connections.max.idle.ms and max.poll.interval.ms in Kafka configuration?

Viewed 993

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 :]

1 Answers

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

Related