RaftFleet.consensus_groups

You're seeing just the function consensus_groups, go back to RaftFleet module for more information.

Specs

consensus_groups() :: %{required(atom()) => pos_integer()}

Queries already registered consensus groups.

This function sends a query to a leader of the RaftFleet.Cluster consensus group, which is managed internally by raft_fleet. The returned value is a map whose keys and values are consensus group name and number of replicas of the group. This function exits if no active node exists in the cluster.