0

Shortly after my app starts up I see this in the logs:

INFO  akka.actor.DeadLetterActorRef - Message [java.lang.String] from   Actor[akka://MyApp/user/sqs-poller/router#-923782747] to Actor[akka://MyApp/deadLetters] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.

Does this mean the router was sent a shutdown command? Is it possible to have akka log the dead letters?

Nelson
  • 2,972
  • 3
  • 23
  • 34

1 Answers1

0

This type of dead-letters warnings are often harmless as described in the Akka doc. As illustrated in the doc, you can configure the amount of dead letters to be logged during shutdown as follows:

akka {
  log-dead-letters = 10
  log-dead-letters-during-shutdown = on
}

There was also some related router actor specific discussion that might be of interest.

Community
  • 1
  • 1
Leo C
  • 22,006
  • 3
  • 26
  • 39