Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Add Support for StreamJobs RPC #333

Closed
jwulf opened this issue Aug 22, 2023 · 4 comments
Closed

Add Support for StreamJobs RPC #333

jwulf opened this issue Aug 22, 2023 · 4 comments
Assignees
Labels
api-functional-sdk-not This feature has been implemented in Zeebe and the API is available enhancement New feature or request
Milestone

Comments

@jwulf
Copy link
Member

jwulf commented Aug 22, 2023

The Zeebe Gateway has a new RPC StreamJobs to open a long-lived stream that essentially "pushes" jobs to the worker.

This obviates polling loops.

See: camunda/camunda#11708

@jwulf jwulf self-assigned this Aug 22, 2023
@jwulf
Copy link
Member Author

jwulf commented Sep 20, 2023

camunda/camunda#14152

Environment variable to enable it:

ZEEBE_CLIENT_WORKER_STREAMENABLED

@jwulf
Copy link
Member Author

jwulf commented Oct 24, 2023

I'm going to target this feature for the 8.4 release.

@jwulf jwulf added this to the 8.4.0 milestone Oct 24, 2023
@jwulf jwulf modified the milestones: 8.4.0, 8.5.0 Nov 29, 2023
@jwulf jwulf added enhancement New feature or request api-functional-sdk-not This feature has been implemented in Zeebe and the API is available labels Nov 29, 2023
@npepinpe
Copy link

See also the documentation about the general concept, including how back pressure works and can be implemented for your custom client: https://stage.docs.camunda.io/docs/next/components/concepts/job-workers/#job-streaming

@jwulf
Copy link
Member Author

jwulf commented Jan 31, 2024

Now tracked here: camunda/camunda-8-js-sdk#17

@jwulf jwulf closed this as completed Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-functional-sdk-not This feature has been implemented in Zeebe and the API is available enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants