Skip to content

thwiegan/so_ActorClusterExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_ActorSupervisionTest

In response to

Run:

  • sbt "run 1337 1337" to run the initial node on port 1337
  • sbt "run 1338 1337" to run an additional node on port 1338 and let it join to node on 1337
  • sbt "run 1339" to run a node, which takes the seed node in the application.conf file (which fails, because nothing is running on 2551)

ClusterListeners will join the router of the primary node. Primary node broadcasts a test message every 20 seconds to all ClusterListeners in the cluster