-
Notifications
You must be signed in to change notification settings - Fork 176
Description
Is your feature request related to a problem? Please describe.
Looks like Temporal Java SDK is lacking the support of context propagators for local activities.
Currently, there is no way to make context propagation work for LocalActivities as described in Issue #489.
But even when #489 is resolved, Java SDK API lacks functionality for LocalActivities + ContextPropagators comparable to the one that is available for Activities + ContextPropagators.
ActivityOption
has ActivityOption#contextPropagators
that allow specifying custom context propagators for the activity.
You would expect that LocalActivityOption
will have LocalActivityOption#contextPropagators
with the same semantic, but it's not there.
Describe the solution you'd like
Add LocalActivityOption#contextPropators
and ensure they are supported the same way as ActivityOption#contextPropators