LoggingContextSetter

Interface to abstract setting the logging context variables.

In classic multithreaded environments, you can just use THREAD_LOCAL_INSTANCE, though the caller of RestateEndpoint must take care of the cleanup of the thread local map.

Properties

Link copied to clipboard
val INVOCATION_ID_KEY: String = "restateInvocationId"
Link copied to clipboard
val INVOCATION_STATUS_KEY: String = "restateInvocationStatus"
Link copied to clipboard
val INVOCATION_TARGET_KEY: String = "restateInvocationTarget"

Functions

Link copied to clipboard
abstract fun set(key: String, value: String)