I have a question in regard of using Akka typed cluster with
We have our actors defined as typed so we use
akka.cluster.typed.Cluster in our code. Recently we have decided to add a bit of visibility to our cluster - metrics, logging and something for getting a cluster’s current state.
For the last thing we started looking at the set of
akka-management libs. In particular at
ClusterHttpManagementRoutes can be found. That logic creates http routes for getting info and controlling a cluster. But right after we faced with a problem.
ClusterHttpManagementRoutes is made around
akka.cluster.Cluster instead of a typed version of it.
So my questions are next:
- What is a proper way of using
- Is there a built-in way of converting a typed
Clusterinto a classic one?
- Maybe there is something else that can be used for gathering and showing info about a cluster’s state for
I try to google that problem and checked Akka’s source code with no success.