How to display topics using Kafka Clients in Java?
问题 public static void main(String [] args){ Properties config = new Properties(); config.put(AdminClientConfig.BOOTSRAP._SERVERS_CONFIG, "mybroker.ip.address:9092"); AdminClient admin = AdminClient.create(config); ListTopicsResult ltr = admin.listTopics().names().get(); } I am catching an ExecutionException with the error messages: org.apache.kafka.common.errors.TimeoutException: Call(callName:listTopics, deadlineMs=1599813311360, tries=1, nextAllowedTryMs=-9223372034707292162) timed out at