When creating topic, available brokers: 0 issue

It can be occurs when:

  • The path which was defined for zookeeper.chroot not used on zookeeper URL

For example on Cloudera Manager:

Bu görselin boş bir alt özelliği var; dosya ismi: image-12.png

If it is defined as empty, then <zookeeper_server>:2181 will be enough. But if any path detected there, <zookeeper_server>/<defined_path>:2181 should be used.