Is it safe to use
ThreadLocalinside client interceptors?
It should be in activity interceptor. Give it a shot and see if it works. In Workflow code you cannot use it and would have to use
io.temporal.workflow.WorkflowThreadLocal
Is it safe to use
ThreadLocalinside client interceptors?
It should be in activity interceptor. Give it a shot and see if it works. In Workflow code you cannot use it and would have to use
io.temporal.workflow.WorkflowThreadLocal