Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-12729

controller leader keep disconnected and block the cluster

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1
    • Fix Version/s: None
    • Component/s: controller, KafkaConnect
    • Labels:
      None

      Description

      kafka version. 2.12-2.1.1

      after zk flash disconnected 

      then broker6 become the controller leader

      but the other brokers can't connect to the broker6 until we restart the broker6 then the cluster become recover.

       

      bandwidth is normal

       

       

       

      //代码占位符
      Connection to 6 was disconnected before the response was read at org.apache.kafka.clients.NetworkClientUtils.sendAndReceive(NetworkClientUtils.java:100) at kafka.server.ReplicaFetcherBlockingSend.sendRequest(ReplicaFetcherBlockingSend.scala:99) at kafka.server.ReplicaFetcherThread.fetchFromLeader(ReplicaFetcherThread.scala:192) at kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherThread.scala:274) at kafka.server.AbstractFetcherThread.$anonfun$maybeFetch$3(AbstractFetcherThread.scala:132) at kafka.server.AbstractFetcherThread.$anonfun$maybeFetch$3$adapted(AbstractFetcherThread.scala:131) at scala.Option.foreach(Option.scala:257) at kafka.server.AbstractFetcherThread.maybeFetch(AbstractFetcherThread.scala:131) at kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:113) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:82)

       

        Attachments

        1. image-2021-04-29-11-35-52-191.png
          18 kB
          luws
        2. image-2021-04-29-11-35-41-393.png
          24 kB
          luws
        3. image-2021-04-29-11-35-26-994.png
          20 kB
          luws
        4. image-2021-04-29-11-34-18-654.png
          21 kB
          luws
        5. image-2021-04-29-11-33-53-048.png
          18 kB
          luws
        6. image-2021-04-29-11-33-24-303.png
          22 kB
          luws

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              loma luws
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: