[ 
https://issues.apache.org/jira/browse/KAFKA-16369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17826811#comment-17826811
 ] 

Edoardo Comar edited comment on KAFKA-16369 at 3/13/24 5:50 PM:
----------------------------------------------------------------

server logs as broker only (zk mode) and broker/controller (kraft mode) when 
port 9092 is already bound

[^server.log]

[^kraft-server.log]


was (Author: ecomar):
server logs as broker only (zk mode) and broker/controller (kraft mode) when 
port 9092 is already bound

[^server.log][^kraft-server.log]

> 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
>            Priority: Major
>         Attachments: kraft-server.log, server.log
>
>
> 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