I followed the quickstart instructions at
https://kafka.apache.org/quickstart and everything seems to be working ok,
except that commands take a long time to run, e.g.

$ time bin/kafka-topics.sh --list --zookeeper localhost:2181

real 0m11.751s
user 0m1.540s
sys 0m0.273s

The zookeeper logging shows that the request is processed in a few
milliseconds, so I think it's related to the kafka JVM configuration. If I
remove com.sun.management.jmxremote it's takes 6 seconds but this is still
much longer than I would have expected.

Any suggestions on how to speed things up?

Reply via email to