Edoardo Comar created KAFKA-16369:
-------------------------------------

             Summary: Broker may not shut down when SocketServer fails to bind 
as Address already in use
                 Key: KAFKA-16369
                 URL: https://issues.apache.org/jira/browse/KAFKA-16369
             Project: Kafka
          Issue Type: Bug
            Reporter: Edoardo Comar


When in Zookeeper mode, if a port the broker should listen to is already bound

the KafkaException: Socket server failed to bind to localhost:9092: Address 
already in use.

is thrown but the Broker continues to startup .

It correctly shuts down when in KRaft mode.

Easy to reproduce when in Zookeper mode with server.config set to listen to 
localhost only
{color:#000000}listeners={color}{color:#a31515}PLAINTEXT://localhost:9092{color}
 
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to