Is your feature request related to a problem? Please describe.
Include workflowId in the header will enable the api gateway/frontend route the workflow request to correct active cluster without having to decode/open the request payload
Describe the solution you'd like
Workflow requests are requests for a specific workflow, i.e. StartWorkflow, RespondWorkflow/Activity, SignalWorkflow etc.
For actions initiated from the SDK (e.g., StartWorkflow, SignalWorkflow, TerminateWorkflow), the SDK needs to add the workflowId to the request header.
For action-after-poll requests (i.e., RespondWorkflow/ActivityTask), SDK only needs to attach the header from the matching poll response to the following API calls.
Additional context
server will add header at the poll response
Per-SDK Tickets
Is your feature request related to a problem? Please describe.
Include workflowId in the header will enable the api gateway/frontend route the workflow request to correct active cluster without having to decode/open the request payload
Describe the solution you'd like
Workflow requests are requests for a specific workflow, i.e. StartWorkflow, RespondWorkflow/Activity, SignalWorkflow etc.
For actions initiated from the SDK (e.g., StartWorkflow, SignalWorkflow, TerminateWorkflow), the SDK needs to add the workflowId to the request header.
For action-after-poll requests (i.e., RespondWorkflow/ActivityTask), SDK only needs to attach the header from the matching poll response to the following API calls.
Additional context
server will add header at the poll response
Per-SDK Tickets