ing-bank / scruid

Scala + Druid: Scruid. A library that allows you to compose queries in Scala, and parse the result back into typesafe classes.
Apache License 2.0
115 stars 29 forks source link

Akka configuration support #33

Closed michalmisiewicz closed 5 years ago

michalmisiewicz commented 5 years ago

In my case I want to use scruid in spark job on cluster mode. Unfortunately it doesn't work because akka threads prevents job to end. My problem can be solved by running akka threads as daemons, which can be achieved by setting akka.daemonic = on. I suggest adding support for akka configuration.

michalmisiewicz commented 5 years ago

Specifying akka.daemonic=on in application.conf solved issue.