kafka-cluster-links --bootstrap-server host1 --create --command-config /etc/kafka/command.properties --link link --config bootstrap.servers=host2
this gives me this error
Error while executing cluster link command: Timed out waiting for results
[2023-08-01 12:00:45,199] ERROR kafka.common.AdminCommandFailedException: Timed out waiting for results
at kafka.admin.ClusterLinkCommand$.throwAdminCommandFailedException$1(ClusterLinkCommand.scala:130)
at kafka.admin.ClusterLinkCommand$.run(ClusterLinkCommand.scala:134)
at kafka.admin.ClusterLinkCommand$.main(ClusterLinkCommand.scala:24)
at kafka.admin.ClusterLinkCommand.main(ClusterLinkCommand.scala)
Caused by: java.util.concurrent.ExecutionException: org.apache.kafka.common.errors.TimeoutException: Request has been timed out after 29930 ms
at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908)
at org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:165)
at kafka.admin.ClusterLinkCommand$.createClusterLink(ClusterLinkCommand.scala:156)
at kafka.admin.ClusterLinkCommand$.run(ClusterLinkCommand.scala:121)
… 2 more
Caused by: org.apache.kafka.common.errors.TimeoutException: Request has been timed out after 29930 ms
(kafka.admin.ClusterLinkCommand$)