Skip to content

Instantly share code, notes, and snippets.

@pisfly
pisfly / ClusterRegistrySpec.scala
Created June 9, 2017 05:21 — forked from patriknw/ClusterRegistrySpec.scala
Example of how to implement a simple cluster wide actor registry.
/**
* Copyright (C) 2009-2013 Typesafe Inc. <http://www.typesafe.com>
*/
package akka.contrib.pattern
import language.postfixOps
import scala.concurrent.duration._
import com.typesafe.config.ConfigFactory
import akka.actor.Actor