Skip to content

Commit 1f0cce4

Browse files
Document Java Worker Heartbeating (#4520)
Java SDK v1.35.0 added Worker Heartbeating. Document the configuration option on the Manage Worker Heartbeating section of the cloud worker-health page, matching the format of the other SDKs. Co-authored-by: Milecia McG <47196133+flippedcoder@users.noreply.github.com>
1 parent 2b631ad commit 1f0cce4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/cloud/worker-health.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,14 @@ Set the `WorkerHeartbeatInterval` property on [`TemporalRuntimeOptions`](https:/
456456
Set it to `null` to disable heartbeating.
457457

458458
</SdkTabs.DotNet>
459+
<SdkTabs.Java>
460+
461+
_Available since Java SDK v1.35.0_
462+
463+
Set the heartbeat interval on [`WorkflowClientOptions.Builder`](https://www.javadoc.io/doc/io.temporal/temporal-sdk/latest/io/temporal/client/WorkflowClientOptions.Builder.html) with `setWorkerHeartbeatInterval(Duration)`.
464+
Set it to a negative `Duration` to disable heartbeating.
465+
466+
</SdkTabs.Java>
459467
<SdkTabs.Ruby>
460468

461469
_Available since Ruby SDK v1.1.0_

0 commit comments

Comments
 (0)