20 lines
525 B
Plaintext

akka {
actor {
# cluster is better(recommend by official document), but I prefer remote
provider = remote
# TODO : 临时使用 Java 序列化,开发完成后切换到 protocol-buffers
allow-java-serialization = off
serialization-bindings {
"com.github.kfcfans.common.OmsSerializable" = jackson-cbor
}
}
remote {
artery {
transport = tcp # See Selecting a transport below
# over write by code
canonical.hostname = "127.0.0.1"
canonical.port = 0
}
}
}