searchattributes

command
v0.0.0-...-df6f7bd Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

README

This sample shows how to use search attributes. (Note this feature only works when running Cadence with ElasticSearch)

Steps to run this sample:

  1. You need a cadence service with Elasticsearch running. The easiest way is by running:
docker-compose -f docker-compose-es.yml up

For details, see https://github.com/uber/cadence/blob/master/docker/README.md

  1. Run the following command to start worker
./bin/searchattributes -m worker
  1. Run the following command to trigger a workflow execution. You should see workflowID and runID print out on screen.
./bin/searchattributes -m trigger

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