diff --git a/docs/apis-tools/java-client/job-worker.md b/docs/apis-tools/java-client/job-worker.md index c0af82e7da..6f03d44423 100644 --- a/docs/apis-tools/java-client/job-worker.md +++ b/docs/apis-tools/java-client/job-worker.md @@ -14,7 +14,12 @@ keywords: ["backpressure", "back-pressure", "back pressure"] The Java client provides a job worker that handles polling for available jobs. This allows you to focus on writing code to handle the activated jobs. :::caution REST API limitation -The 8.6.0 Java client cannot maintain the long-lived polling connections required for job polling via the REST API. For example, this applies to performing long-polling job activation when activating jobs larger than the maximum message size, or receiving additional job activation requests while the long-polling connection is still open. +The 8.6.0 Java client cannot maintain the long-lived polling connections required for job polling via the REST API. For example, this applies when: + +- Performing long-polling job activation when activating jobs larger than the maximum message size. +- Receiving additional job activation requests from the same Java client while the long-polling connection is still open. +- Receiving additional job activation requests from a Java client running on the same JVM while the long-polling connection is still open. +- Receiving additional job activation requests from a Java client running on a different JVM while the long-polling connection is still open. If you encounter this issue, consider switching to the Zeebe gRPC protocol for job activation, or use job activation via the REST API with long polling disabled. diff --git a/versioned_docs/version-8.6/apis-tools/java-client/job-worker.md b/versioned_docs/version-8.6/apis-tools/java-client/job-worker.md index c0af82e7da..6f03d44423 100644 --- a/versioned_docs/version-8.6/apis-tools/java-client/job-worker.md +++ b/versioned_docs/version-8.6/apis-tools/java-client/job-worker.md @@ -14,7 +14,12 @@ keywords: ["backpressure", "back-pressure", "back pressure"] The Java client provides a job worker that handles polling for available jobs. This allows you to focus on writing code to handle the activated jobs. :::caution REST API limitation -The 8.6.0 Java client cannot maintain the long-lived polling connections required for job polling via the REST API. For example, this applies to performing long-polling job activation when activating jobs larger than the maximum message size, or receiving additional job activation requests while the long-polling connection is still open. +The 8.6.0 Java client cannot maintain the long-lived polling connections required for job polling via the REST API. For example, this applies when: + +- Performing long-polling job activation when activating jobs larger than the maximum message size. +- Receiving additional job activation requests from the same Java client while the long-polling connection is still open. +- Receiving additional job activation requests from a Java client running on the same JVM while the long-polling connection is still open. +- Receiving additional job activation requests from a Java client running on a different JVM while the long-polling connection is still open. If you encounter this issue, consider switching to the Zeebe gRPC protocol for job activation, or use job activation via the REST API with long polling disabled.