Options
- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
How to find the zookeeper leader using REST API call
Labels:
- Labels:
-
Apache Zookeeper
Expert Contributor
Created on ‎02-04-2019 05:16 PM - edited ‎09-16-2022 07:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
2 REPLIES 2
Master Mentor
Created ‎02-04-2019 10:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Master Mentor
Created ‎02-10-2019 10:37 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any updates did this article help you ?
