AdaptiveLoadBalancing with Akka Typed

I would like to implement the AdaptiveLoadBalancing with a Receptionist in cluster.
I cannot find a way to make it work with typed actors. What alternatives do I have if I want to load balance messages to actors in a cluster based on cpu metrics?


Adaptive load balancing was never ported to the typed routing implementations, so to us that you’d either have to use classic routing, or implement your own metrics-balanced routing on top of the receptionist.

The group routing implementation in typed is internal but can be useful to look at for inspiration if you aim to write a custom balancing router: akka/GroupRouterImpl.scala at d703a2afe0e0c6dc8f1c0321b0f4652600e2ae99 · akka/akka · GitHub