- Run a Temporal service.
- Compile the snappycompress plugin for tctl
go build -o ../bin/snappycompress-plugin plugin/main.go
- Run the following command to start the worker
go run worker/main.go
- Run the following command to start the example
go run starter/main.go
- Run the following command and see the compressed payloads
export PATH="../bin:$PATH" TEMPORAL_CLI_PLUGIN_DATA_CONVERTER=snappycompress-plugin
tctl workflow show --wid snappycompress_workflowID
Note: plugins should normally be available in your PATH, we include the current directory in the path here for ease of testing.