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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -644,7 +644,7 @@ The generated code includes resources that are compatible with the Temporal Go S
644
644
645
645
*__Experimental__*
646
646
647
-
This plugin provides experimental support for cross-namespace and/or cross-cluster integration by enabling the `enable-xns` plugin option. When enabled, the plugin will generate an additional `path/to/generated/code/<package>xns` go package containing types, methods, and helpers for calling workflows, queries, signals, and updates from other Temporal workflows via activities. The activities use [heartbeating](https://docs.temporal.io/activities#activity-heartbeat) to maintain liveness for long-running workflows or updates, and their associated timeouts can be configured using the generated options helpers. For an example of xns integration, see the [example/external](./example/external/external.go) package.
647
+
This plugin provides experimental support for cross-namespace and/or cross-cluster integration by enabling the `enable-xns` plugin option. When enabled, the plugin will generate an additional `path/to/generated/code/<package>xns` go package containing types, methods, and helpers for calling workflows, queries, signals, and updates from other Temporal workflows via activities. The activities use [heartbeating](https://docs.temporal.io/activities#activity-heartbeat) to maintain liveness for long-running workflows or updates, and their associated timeouts can be configured using the generated options helpers. For an example of xns integration, see the [example/external](./example/external) package.
@@ -104,6 +105,7 @@ available query configuration options
104
105
| Field | Type | Label | Description |
105
106
| ----- | ---- | ----- | ----------- |
106
107
| name |[string](#string)|| Fully-qualified query name |
108
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
107
109
108
110
109
111
@@ -156,6 +158,7 @@ available signal configuration options
156
158
| Field | Type | Label | Description |
157
159
| ----- | ---- | ----- | ----------- |
158
160
| name |[string](#string)|| Fully-qualified signal name |
161
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
159
162
160
163
161
164
@@ -175,6 +178,7 @@ available update configuration options
175
178
| name |[string](#string)|| Fully-qualified update name |
176
179
| validate |[bool](#bool)|| Include validation hook |
177
180
| wait_policy |[WaitPolicy](#temporal-v1-WaitPolicy)|| Default wait policy if not specified |
181
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
178
182
179
183
180
184
@@ -205,6 +209,7 @@ available workflow configuration options
205
209
| task_queue |[string](#string)|| Override service task queeu |
206
210
| task_timeout |[google.protobuf.Duration](#google-protobuf-Duration)|| The timeout for processing workflow task from the time the worker pulled this task. If a workflow task is lost, it is retried after this timeout. The resolution is seconds. |
207
211
| wait_for_cancellation |[bool](#bool)|| WaitForCancellation specifies whether to wait for canceled child workflow to be ended (child workflow can be ended as: completed/failed/timedout/terminated/canceled) |
212
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
208
213
209
214
210
215
@@ -220,6 +225,7 @@ Query identifies a query supported by the worklow
220
225
| Field | Type | Label | Description |
221
226
| ----- | ---- | ----- | ----------- |
222
227
| ref |[string](#string)|| Query name |
228
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
223
229
224
230
225
231
@@ -236,6 +242,7 @@ Signal identifies a signal supported by the workflow
236
242
| ----- | ---- | ----- | ----------- |
237
243
| ref |[string](#string)|| Signal name |
238
244
| start |[bool](#bool)|| Include convenience method for signal with start |
245
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
239
246
240
247
241
248
@@ -251,6 +258,29 @@ Update identifies an update supported by the workflow
251
258
| Field | Type | Label | Description |
252
259
| ----- | ---- | ----- | ----------- |
253
260
| ref |[string](#string)|| Update name |
261
+
| xns |[XNSActivityOptions](#temporal-v1-XNSActivityOptions)|| XNS can be used to configure default activity options for xns workflow executions |
262
+
263
+
264
+
265
+
266
+
267
+
268
+
<aname="temporal-v1-XNSActivityOptions"></a>
269
+
270
+
### XNSActivityOptions
271
+
272
+
273
+
274
+
| Field | Type | Label | Description |
275
+
| ----- | ---- | ----- | ----------- |
276
+
| name |[string](#string)|| Fully-qualified xns activity name |
277
+
| task_queue |[string](#string)|| Override default task queue for activity |
278
+
| schedule_to_close_timeout |[google.protobuf.Duration](#google-protobuf-Duration)|| Total time that a workflow is willing to wait for Activity to complete |
279
+
| schedule_to_start_timeout |[google.protobuf.Duration](#google-protobuf-Duration)|| Time that the Activity Task can stay in the Task Queue before it is picked up by a Worker |
280
+
| start_to_close_timeout |[google.protobuf.Duration](#google-protobuf-Duration)|| Maximum time of a single Activity execution attempt |
281
+
| heartbeat_interval |[google.protobuf.Duration](#google-protobuf-Duration)|| HeartbeatInterval configures the default heartbeat interval |
0 commit comments