guoyu09403 opened a new issue, #95:
URL: https://github.com/apache/incubator-pekko-samples/issues/95

   `
     private def startup(role: String, port: Int): Unit = {
   
       // Override the configuration of the port when specified as program 
argument
       val config = ConfigFactory
         .parseString(s"""
         org.apache.pekko.remote.artery.canonical.port=$port // It should be  
pekko.remote.artery.canonical.port
         org.apache.pekko.cluster.roles = [$role] //It should be 
pekko.cluster.roles
         """)
         .withFallback(ConfigFactory.load("stats"))
   
       ActorSystem[Nothing](RootBehavior(), "ClusterSystem", config)
     }
   `
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to