Kafka shutting down
Our system usually shutting down kafka stream service. I had checked server.log and know that when client session time out, it reconnect and then shutting down
1-01-27 19:40:15,726] WARN Client session timed out, have not heard from server in 20002ms for sessionid 0xffffffffbcf60001 (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:15,726] INFO Client session timed out, have not heard from server in 20002ms for sessionid 0xffffffffbcf60001, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,653] INFO Opening socket connection to server Proprietary information hidden/ Proprietary information hidden:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,653] INFO Socket connection established to Proprietary information hidden/ Proprietary information hidden:2181, initiating session (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,654] INFO Session establishment complete on server Proprietary information hidden/ Proprietary information hidden:2181, sessionid = 0xffffffffbcf60001, negotiated timeout = 30000 (org.apache.zookeeper.ClientCnxn)
Our system usually shutting down kafka stream service. I had checked server.log and know that when client session time out, it reconnect and then shutting down
1-01-27 19:40:15,726] WARN Client session timed out, have not heard from server in 20002ms for sessionid 0xffffffffbcf60001 (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:15,726] INFO Client session timed out, have not heard from server in 20002ms for sessionid 0xffffffffbcf60001, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,653] INFO Opening socket connection to server Proprietary information hidden/ Proprietary information hidden:2181. Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,653] INFO Socket connection established to Proprietary information hidden/ Proprietary information hidden:2181, initiating session (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:17,654] INFO Session establishment complete on server Proprietary information hidden/ Proprietary information hidden:2181, sessionid = 0xffffffffbcf60001, negotiated timeout = 30000 (org.apache.zookeeper.ClientCnxn)
[2021-01-27 19:40:52,505] INFO Terminating process due to signal SIGTERM (org.apache.kafka.common.utils.LoggingSignalHandler)
[2021-01-27 19:40:52,535] INFO [KafkaServer id=1003] shutting down (kafka.server.KafkaServer)
[2021-01-27 19:40:52,536] INFO [KafkaServer id=1003] Starting controlled shutdown (kafka.server.KafkaServer)
[2021-01-27 19:40:52,611] INFO [KafkaServer id=1003] Controlled shutdown succeeded (kafka.server.KafkaServer)