Instantly share code, notes, and snippets.

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