You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint |
26
-
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file |
27
-
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file |
28
-
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file |
29
-
| TEMPORAL_NAMESPACE |[ClientOptions.Namespace](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Namespace |
25
+
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint (supports comma-separated values for multiple namespaces) |
26
+
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file (supports comma-separated values for multiple namespaces) |
27
+
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file (supports comma-separated values for multiple namespaces) |
28
+
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file (supports comma-separated values for multiple namespaces) |
29
+
| TEMPORAL_NAMESPACE |[ClientOptions.Namespace](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Namespace (supports comma-separated values for multiple namespaces) |
30
30
| TEMPORAL_TASK_QUEUE |[TaskQueue](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/worker#New)| The Temporal Task Queue |
31
31
| TEMPORAL_WORKFLOW_TASK_POLLERS |[WorkerOptions.MaxConcurrentWorkflowTaskPollers](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#WorkerOptions)| Number of workflow task pollers |
32
32
| TEMPORAL_ACTIVITY_TASK_POLLERS |[WorkerOptions.MaxConcurrentActivityTaskPollers](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#WorkerOptions)| Number of activity task pollers |
33
33
| PROMETHEUS_ENDPOINT | n/a | The address to serve prometheus metrics on |
34
34
35
+
#### Multi-Namespace Support
36
+
37
+
The worker supports working with multiple namespaces simultaneously. This allows you to spread load across multiple namespaces with a single worker deployment, providing a more realistic load pattern.
We provide an [example deployment spec](./deployment.yaml) for you to customize to your requirements. Once you have edited the environment variables in the deployment.yaml you can create the deployment with `kubectl apply -f ./deployment.yaml`.
54
103
55
-
3.**Using the Helm chart (Recommended)**:
104
+
4.**Using the Helm chart (Recommended)**:
56
105
57
106
We provide a Helm chart that can be installed from the GitHub Container Registry:
58
107
@@ -106,10 +155,10 @@ The table below lists the environment variables available and the relevant Tempo
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint |
110
-
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file |
111
-
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file |
112
-
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file |
158
+
| TEMPORAL_GRPC_ENDPOINT |[ClientOptions.HostPort](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ClientOptions)| The Temporal Frontend GRPC endpoint (supports comma-separated values for multiple namespaces) |
159
+
| TEMPORAL_TLS_KEY |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Key file (supports comma-separated values for multiple namespaces) |
160
+
| TEMPORAL_TLS_CERT |[ClientOptions.ConnectionOptions.TLS.Certificates](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS Cert file (supports comma-separated values for multiple namespaces) |
161
+
| TEMPORAL_TLS_CA |[ClientOptions.ConnectionOptions.TLS](https://pkg.go.dev/go.temporal.io/sdk@v1.15.0/internal#ConnectionOptions)| Path to TLS CA Cert file (supports comma-separated values for multiple namespaces) |
113
162
| PROMETHEUS_ENDPOINT | n/a | The address to serve prometheus metrics on |
114
163
115
164
The runner is also configured via command line options:
namespace (comma-separated list supported) (default "default")
172
+
-s string
173
+
signal type
123
174
-t string
124
175
workflow type
125
176
-tq string
126
177
task queue (default "benchmark")
127
178
-w wait for workflows to complete (default true)
128
179
```
129
180
181
+
#### Multi-Namespace Support in Runner
182
+
183
+
The runner supports distributing workflow executions across multiple namespaces. This provides a more realistic load pattern by spreading the load across different namespaces.
@@ -146,6 +227,12 @@ The worker provides the following workflows for you to use during benchmarking:
146
227
147
228
This workflow takes a count, an activity name and an activity input. The activity `Activity` will be run `Count` times with the given `input`. If the activity returns an error the workflow will fail with that error.
148
229
230
+
### ReceiveSignal
231
+
232
+
`ReceiveSignal()`
233
+
234
+
This workflow waits to receive a signal. It can be used with the runner's signal functionality to test signal-based workflows.
0 commit comments