Skip to content

lucidsoftware/pekko-thread-context

Repository files navigation

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