1. Error: Executing consumer group command failed due to org.apache.kafka.common.KafkaException: Failed to find brokers to send ListGroups

  1. bash-4.4# ./bin/kafka-consumer-groups.sh --bootstrap-server broker1:9092 --list
  2. Error: Executing consumer group command failed due to org.apache.kafka.common.KafkaException: Failed to find brokers to send ListGroups
  3. java.util.concurrent.ExecutionException: org.apache.kafka.common.KafkaException: Failed to find brokers to send ListGroups
  4. at org.apache.kafka.common.internals.KafkaFutureImpl.wrapAndThrow(KafkaFutureImpl.java:45)
  5. at org.apache.kafka.common.internals.KafkaFutureImpl.access$000(KafkaFutureImpl.java:32)
  6. at org.apache.kafka.common.internals.KafkaFutureImpl$SingleWaiter.await(KafkaFutureImpl.java:89)
  7. at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:260)
  8. at kafka.admin.ConsumerGroupCommand$ConsumerGroupService.listConsumerGroups(ConsumerGroupCommand.scala:205)
  9. at kafka.admin.ConsumerGroupCommand$ConsumerGroupService.listGroups(ConsumerGroupCommand.scala:200)
  10. at kafka.admin.ConsumerGroupCommand$.run(ConsumerGroupCommand.scala:74)
  11. at kafka.admin.ConsumerGroupCommand$.main(ConsumerGroupCommand.scala:63)
  12. at kafka.admin.ConsumerGroupCommand.main(ConsumerGroupCommand.scala)
  13. Caused by: org.apache.kafka.common.KafkaException: Failed to find brokers to send ListGroups
  14. at org.apache.kafka.clients.admin.KafkaAdminClient$24.handleFailure(KafkaAdminClient.java:3272)
  15. at org.apache.kafka.clients.admin.KafkaAdminClient$Call.failWithTimeout(KafkaAdminClient.java:813)
  16. at org.apache.kafka.clients.admin.KafkaAdminClient$Call.fail(KafkaAdminClient.java:784)
  17. at org.apache.kafka.clients.admin.KafkaAdminClient$TimeoutProcessor.handleTimeouts(KafkaAdminClient.java:907)
  18. at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.timeoutPendingCalls(KafkaAdminClient.java:975)
  19. at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.processRequests(KafkaAdminClient.java:1296)
  20. at org.apache.kafka.clients.admin.KafkaAdminClient$AdminClientRunnable.run(KafkaAdminClient.java:1260)
  21. at java.lang.Thread.run(Thread.java:748)
  22. Caused by: org.apache.kafka.common.errors.TimeoutException: Call(callName=findAllBrokers, deadlineMs=1620874816633, tries=1, nextAllowedTryMs=1620874816734) timed out at 1620874816634 after 1 attempt(s)
  23. Caused by: org.apache.kafka.common.errors.TimeoutException: Timed out waiting for a node assignment. Call: findAllBrokers