getStreamingLeader

Syntax

getStreamingLeader(groupId)

Arguments

groupId is an integer indicating a Raft group ID

Details

Get the node alias of the Leader in a Raft group.

Examples

getStreamingLeader(11);
// output
DFS_NODE2