zktop icon indicating copy to clipboard operation
zktop copied to clipboard

try --config=/etc/zookeeper/conf/zoo.cfg first before trying localhost:8121

Open calestyo opened this issue 8 years ago • 3 comments

Hey.

Would be a nice feature, if zktop per default tries: --config=/etc/zookeeper/conf/zoo.cfg before it does the implicit --server localhost:8121

What people typically want is probably that they see all the ZKs from their ensemble, and only when no /etc/zookeeper/conf/zoo.cfg is found, it should try localhost:8121.

Distros could easily adapt the path to whatever their ZK server uses as default config location.

Cheers, Chris.

calestyo avatar Jul 31 '17 21:07 calestyo

Thanks @calestyo, it sounds reasonable. I was probably biased by the fact that I used to run in dev mode much more than in production mode. I'm open to changing the default behavior if someone (yourself?) is interested in submitting a patch.

phunt avatar Aug 07 '17 01:08 phunt

please have a look (and verify) pull request #20 Cheers, Chris.

calestyo avatar Aug 16 '17 00:08 calestyo

@phunt anything new here?

calestyo avatar Oct 21 '17 22:10 calestyo