In Kafka 3.1 the log level for the “Node x disconnected” message was changed from DEBUG
to INFO
, and as a result I’m seeing regular messages saying the nodes are disconnected.
But strangely the message is getting logged every 5 minutes for every stream thread. I’m thinking the 5 minutes could be the metadata.max.age.ms
setting, which defaults to 5 minute and the fact that after every disconnect message I see this message - “Requesting metadata update”.
So my question is, is this how metadata refreshing works, and if this is expected then why would the log level have been changed to INFO
, it makes people assume there are connectivity issues with the brokers?