aboutsummaryrefslogtreecommitdiff
path: root/kamon-playground
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-playground')
-rw-r--r--kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
index 7d7494eb..8cb8cc22 100644
--- a/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
+++ b/kamon-playground/src/main/scala/test/SimpleRequestProcessor.scala
@@ -17,7 +17,7 @@
package test
import akka.actor._
-import akka.routing.RoundRobinPool
+import akka.routing.RoundRobinRouter
import akka.util.Timeout
import kamon.Kamon
import kamon.metric.Subscriptions.TickMetricSnapshot
@@ -67,7 +67,7 @@ object SimpleRequestProcessor extends App with SimpleRoutingApp with RequestBuil
//Kamon(UserMetrics).registerGauge("test-gauge")(() => 10L)
val pipeline = sendReceive
- val replier = system.actorOf(Props[Replier].withRouter(RoundRobinPool(nrOfInstances = 4)), "replier")
+ val replier = system.actorOf(Props[Replier].withRouter(RoundRobinRouter(nrOfInstances = 4)), "replier")
val random = new Random()