Created on 02-04-2019 05:16 PM - edited 09-16-2022 07:07 AM
Hi,
To identify the zookeeper leader, I can use the below command in CLI.
$echo stat | nc zk_hostname 2181 | grep Mode Mode: follower
Is it possible to achieve this using REST API calls?
Thank you.
Regards,
Sampath
Created 02-04-2019 10:07 PM
@Sampath Kumar
Have a look at this Github for zookeeper REST API's
HTH
Created 02-10-2019 10:37 PM
Any updates did this article help you ?