scala - Add a role to an existing member? -
i looking on akka source code. there way member's roles (.getroles), there way add together new role existing member? add together dynamically using code , not via configuration.
no, roles immutable , cannot changed after actorsystem has been started.
you can alter role programmatically before creating actorsystem loading config file , overriding roles value before passing config object actorsystem.apply when bootstrap node.
scala akka akka-cluster
No comments:
Post a Comment