BalancingPool uses disallowed characters for the dispatcher config path
Actor balanced by a BalancingPool uses its deploy path to lookup values in the config. However such path can contain characters that are not allowed in the config keys. For example:
Problematic method is newRoutee at https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/routing/Balancing.scala#L100
I think that just removing disallowed characters from the constructed path would be a suitable fix for this. If so, I can do that in a PR.
This was found by Boris in akka-user group: https://groups.google.com/forum/#!topic/akka-user/KxKf7qFEbNM
- '@' - when actor is deployed remotely
- '$' - when actor has a parent which is a router
Problematic method is newRoutee at https://github.com/akka/akka/blob/master/akka-actor/src/main/scala/akka/routing/Balancing.scala#L100
I think that just removing disallowed characters from the constructed path would be a suitable fix for this. If so, I can do that in a PR.
This was found by Boris in akka-user group: https://groups.google.com/forum/#!topic/akka-user/KxKf7qFEbNM
Leave a comment