You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Fuud (Jira)" <ji...@apache.org> on 2021/07/20 11:02:00 UTC

[jira] [Created] (KAFKA-13107) KafkaServer.startup leaves server socket open if zk error is throws (ex. NodeExists)

Fuud created KAFKA-13107:
----------------------------

             Summary: KafkaServer.startup leaves server socket open if zk error is throws (ex. NodeExists)
                 Key: KAFKA-13107
                 URL: https://issues.apache.org/jira/browse/KAFKA-13107
             Project: Kafka
          Issue Type: Bug
            Reporter: Fuud


kafka.network.Acceptor#serverChannel is not closed if KafkaServer.startup is failed with zk error.

Because the single point where serverChannel.close() is kafka/network/SocketServer.scala:640 but it requires Acceptor to be scheduled.

It is regression: in 2.5 server channel was closed as expected.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)