xns

command
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MIT Imports: 15 Imported by: 0

README

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
    

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL