paypal/squbs

Ensure Akka shutdown hook is not interfering with squbs shutdown hooks

akara opened this issue · 0 comments

akara commented

When working inside IDEs and shutting down the squbs service, both squbs and the ActorSystem install shutdown hooks at the JVM. This causes the ActorSystem to terminate before squbs can cleanly shut it down. Need to give squbs the exclusive shutdown rights by setting the following parameter in application templates, especially for development environments:

akka.jvm-shutdown-hooks = off