Thanks Kishor for trying out Ratis. The role of a Ratis node can be
fetched using the getGroupInfo call.
This will return the information about the current role of the Raft Server.
Thanks,
Mukul
On 5/30/19 8:33 PM, Kishor Autade wrote:
Hi Team,
We found Apache ratis library very much user friendly and good in
terms of implementation. It's best among all available libraries
available for raft protocol.
We are considering to use it for our use case to create cluster with
raft protocol.
Specific to our use case, we need information about leader. We
couldn't find if there is any such handle given outside which can tell
us what is the role of current node.
If state machine gets notification of role change then that would be
great.
Could you please help us with this.
Thanks in advance.
Thanks,
Kishor.