Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add LocalActivityOption#contextPropagators #490

@Spikhalskiy

Description

@Spikhalskiy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions