Hello, everyone.
I have a question in regard of using Akka typed cluster with akka-management libs.
Context
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 akka-management-cluster-http where 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.
Question
So my questions are next:
- What is a proper way of using
akka-management-cluster-httpandClusterHttpManagementRouteswithakka.cluster.typed.Cluster? - 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
akka.cluster.typed.Cluster?
P.S.
I try to google that problem and checked Akka’s source code with no success.