Take cluster unreachability info into account in routers #26355
Labels
1 - triaged
Tickets that are safe to pick up for contributing in terms of likeliness of being accepted
t:cluster
t:typed
Milestone
A nice addition to the routers in Typed would be to subscribe to unreachable events and avoid routing to those, as described in https://akka.io/blog/2017/09/28/typed-cluster
It would be cool if we don't have to have a special type of routers in cluster. Would it make sense to add the facility to subscribe to unreachability via the Receptionist, and then the ClusterReceptionist would hook into cluster events? Should it be part of the ordinary
Listing
subscription or a separate subscription?The routers probably want to avoid sending to unreachable, but if there are no reachable it's probably best to try to send to an unreachable than not at all.
The text was updated successfully, but these errors were encountered: