I would be grateful for some help with this Akka configuration question. 
 This is probably something obvious, but I've been googling and looking at 
for a day or two and have not yet come up with an answer.

Checking the name of the ActorSystem at the top of RCStreamReceiver shows 
that it is indeed the expected "fubar".

My `ActorSystem` is created thus:

   
 val config = ConfigFactory.load("akka.conf")
 implicit val system = ActorSystem("fubar", config)


The classloader sees my configuration file since changes to logging levels 
take effect.

After creating the `ActorSystem`, my code does the following:

 
   val mpr = system.actorOf(Props[ProcessingFlow])


In the `ProcessingFlow` the following:

   val actorSink: Sink[PackedRecord, ActorRef] = Sink.actorSubscriber(Props[
RCStreamReceiver])


In `RCStreamReceiver` the following:

     val logWorkers = context.actorOf(FromConfig.props(Props[LogWorker]), 
"logWorker")


Yet, I get the following:

 
   Configuration missing for router 
[akka://fubar/user/$a/StreamSupervisor-0/flow-3-2-actorSubscriberSink/logWorker]
 
in 'akka.actor.deployment' section.



This in spite of my config file looking like this:

    akka {
      loggers = ["akka.event.slf4j.Slf4jLogger"]
      loglevel = "WARNING"
      logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
      logger-startup-timeout = 15s
      actor {
        provider = "akka.cluster.ClusterActorRefProvider"
        debug {
          log-config-on-start = off
          autoreceive = off
          lifecycle = off
          unhandled = on
          event-stream = off
        }
        deployment {
          default-dispatcher {
            fork-join-executor {
              parallelism-min = 8
            }
          }

          /"*"/logWorker = {
            router = balancing-pool
            nr-of-instances = 5
            executor = "thread-pool-executor"
            thread-pool-executor {
              core-pool-size-min = 5
              core-pool-size-max = 5
            }
          }


          /"*"/editWorker = {
            router = balancing-pool
            nr-of-instances = 5
            routees.paths = ["/foo/editWorker"]
          }


          /"*"/unknownWorker = {
            router = balancing-pool
            nr-of-instances = 5
            routees.paths = ["/foo/unknownWorker"]
          }
        }
      }
    }



-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to