IBM Streams 4.3.0

ZooKeeper node

This element resource provides access to information about a server within a ZooKeeper ensemble.

Universal Resource Identifier (URI) pattern

https://server:port/streams/rest/domains/{restid}/zookeeperensembles/{restid}/nodes/{restid}

Properties

This element resource has the following properties:
averageRequestLatency
A number that identifies the average time, in milliseconds, that the ZooKeeper node spent receiving and processing requests.
clientPort
A number that identifies the port number that the ZooKeeper node uses.
connectionCount
A number that identifies the number of clients that are connected to the ZooKeeper node.
domain
A string that identifies the URI that you can use to access information about the domain.
ensemble
A string that identifies the URI that you can use to access information about the ZooKeeper ensemble that contains the node.
host
A string that provides the host identifier for the ZooKeeper node.
lastZooKeeperTransactionId
A string that provides an identifier for the most recent transaction on the ZooKeeper node.
maximumRequestLatency
A number that identifies the maximum time, in milliseconds, that the ZooKeeper node spent receiving and processing requests.
minimumRequestLatency
A number that identifies the minimum time, in milliseconds, that the ZooKeeper node spent receiving and processing requests.
mode
A string that identifies the mode of the ZooKeeper node. Some possible values for this property include leader, follower, observer, stand-alone, and unknown.
name
A string that identifies the name of the ZooKeeper node. By default, when you retrieve a collection of these resources, they are sorted according to this property value.
outstandingRequestsCount
A number that identifies the number of requests that were received but not yet processed.
packetsReceivedCount
A number that identifies the number of packets that were received by the ZooKeeper node.
packetsSentCount
A number that identifies the number of packets that were sent by the ZooKeeper node.
resourceType
A string that identifies the REST resource type, which in this case is zooKeeperNode.
restid
A string that represents the identifier that is used to uniquely identify the ZooKeeper node within a URI. The value of this property is the same as the value of the name property.
self
A string that identifies the URI for this resource.
status
A string that identifies the status of the ZooKeeper node. Some possible values for this property include down, latent, notServing, serving, and unknown.
version
A string that identifies the version of ZooKeeper on the server.
znodeCount
A number that identifies the number of data nodes that are contained in the hierarchy for the ZooKeeper node.

Resource retrieval

You can use the following HTTP methods and query parameters to retrieve this resource:

HTTP methods
GET
Query parameters
This element resource supports the standard query parameters for element resources.