Skip to content

Instantly share code, notes, and snippets.

@ericacm ericacm/nodeToWorker.scala
Last active Dec 11, 2015

Embed
What would you like to do?
Node to worker example
val participants = clusterService.clusterStatus.participants
val workers = participants.map(nodeIdToActorRef(_))
workers.foreach(_ ! nextWork())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.