Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

xns

An example of calling proto workflows, queries, signals, and updates hosted by a worker in one namespace from a workflow in a different namespace (or cluster).

Getting Started

In an initial terminal:

  1. Start temporal
    temporal server start-dev \
        --dynamic-config-value "frontend.enableUpdateWorkflowExecution=true" \
        --dynamic-config-value "frontend.enableUpdateWorkflowExecutionAsyncAccepted=true"
  2. In a different terminal, create example namespace and run the worker
    temporal operator namespace create example
    go run ./examples/xns/... worker
  3. In a different terminal, execute an xns workflow
    go run ./examples/xns/... xns provision-foo --name test