简体   繁体   中英

How do I set Akka ActorSystem name in Play Framework

Currently, Akka ActorSystem in Play is named "play" (Play 2.3.5).

Is there a way to change Akka system name to something else ?

This is useful when configuring Akka cluster because it requires all nodes to use same system name.

在application.conf中

play.akka.actor-system = "newname"

Looks like in Play 2.4, the name is configurable through

play.akka.config = "my-akka"

See details in https://www.playframework.com/documentation/2.4.x/ScalaAkka

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM