lucidsoftware / pekko-thread-context   0.4.0

GitHub

Thread context propogation for Akka

Scala versions: 2.13 2.12 2.11

Pekko actor thread context

Build Status Maven Version

Propagate thread-local values across Pekko actors. See java-thread-context.

Currently works only for local actor systems.

Install

libraryDependencies += "com.lucidchart" %% "pekko-actor-thread-context" % "<version>"

Usage

In the configuration for your actor system,

actor.default-dispatcher.type = com.lucidchart.pekko.threadcontext.DefaultDispatcherConfigurator