command
Version:
v1.10.1
Opens a new window with list of versions in this module.
Published: Mar 21, 2024
License: MIT
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
example protoc-gen-go-temporal usage
In an initial terminal:
- Start temporal
temporal server start-dev \
--dynamic-config-value "frontend.enableUpdateWorkflowExecution=true" \
--dynamic-config-value "frontend.enableUpdateWorkflowExecutionAsyncAccepted=true"
In a second terminal:
2. Create search attributes in default namespace
shell temporal operator search-attribute create --name foo --type Text temporal operator search-attribute create --name created_at --type Datetime
3. Create external
namespace
shell temporal operator namespace create external temporal operator search-attribute create --namespace external --name foo --type Text temporal operator search-attribute create --namespace external --name created_at --type Datetime
3. Run example
worker
shell go run example/main.go worker
In a third terminal:
- Run
external
worker
go run example/main.go external worker
In a fourth terminal:
- Execute a workflow
go run example/main.go external provision-foo --request-name test
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.