A collection of samples demonstrating various features and patterns using the Temporal Go SDK.
Demonstrates workflow throughput optimization by partitioning concurrent executions into chunks.
Shows patterns for handling blocking channels in workflows with error handling and timeouts.
Illustrates communication between concurrent workflow executions using workflow channels.
Examples of managing Temporal Cloud resources using the Cloud API client.
Shows handling of workflow cancellation with concurrent signals and activities.
Demonstrates management of CPU-intensive activities with concurrency controls.
Illustrates deadlock detection and prevention in workflows.
Shows implementation of First-In-First-Out signal processing in workflows.
Demonstrates retrieving workflow history using mTLS authentication.
Shows how to query and list workflows with various filters.
Demonstrates limiting concurrent activity executions.
Implements distributed mutex pattern using Temporal workflows.
Shows OpenTelemetry integration for tracing and metrics.
Demonstrates metrics export using OpenTelemetry Protocol.
Shows parsing of workflow history exported in protobuf format.
Demonstrates querying workflow schedules using search attributes.
Shows handling of race conditions with workflow context.
Demonstrates safe handling of concurrent workflow queries.
Shows workflow versioning and replay with markers.
Implements custom timeout handling using workflow interceptors.
Shows coordination of multiple concurrent workflows using WaitGroup pattern.
- Go 1.21 or later
- Temporal Server running locally or a Temporal Cloud account
Each sample can be run using:
go run <sample_directory>/main.go