Skip to main content
Version: 8.8 (unreleased)

Migrate from gRPC to the Orchestration Cluster API

Migrate from gRPC to the Orchestration Cluster REST API.

About this guide

This guide provides an overview of the process for migrating to the Orchestration Cluster REST API.

The Orchestration Cluster API is the official REST API for connecting to Orchestration Cluster, automating processes, and implementing job workers.

Camunda Java Client

In version 8.8.0, the Camunda Java Client changes to use the Orchestration Cluster API as a default cluster communication method.

info

Refer to the Camunda Java Client migration guide for details on how you can continue using gRPC.

gRPC vs REST mapping reference

The following table provides a mapping reference between gRPC methods and their equivalent REST API endpoints in the Orchestration Cluster API.

info

For detailed information on each REST endpoint, see Orchestration Cluster API.

gRPC Method Name (Gateway.proto)Orchestration Cluster REST API EndpointNotes
ActivateJobsPOST /v2/jobs/activationBatch job activation via long polling (streaming not available in REST).
BroadcastSignalPOST /v2/signals/broadcastTriggers signal events.
CancelProcessInstancePOST /v2/process-instances/{processInstanceKey}/cancellationCancels a process instance.
CompleteJobPOST /v2/jobs/{jobKey}/completionCompletes a job.
CreateProcessInstancePOST /v2/process-instancesStarts a new process instance.
CreateProcessInstanceWithResultPOST /v2/process-instances?awaitCompletion=trueStarts a process instance, waits for completion.
DeleteResourcePOST /v2/resources/{resourceKey}/deletionDeletes a resource.
DeployResourcePOST /v2/deploymentsDeploys BPMN, DMN, or form resources (multipart upload).
EvaluateDecisionPOST /v2/decisions/evaluationEvaluates a DMN decision by key or id.
FailJobPOST /v2/jobs/{jobKey}/failureMarks a job as failed.
MigrateProcessInstancePOST /v2/process-instances/{processInstanceKey}/migrationMigrates a process instance (phase 1 only).
ModifyProcessInstancePOST /v2/process-instances/{processInstanceKey}/modificationModifies a running process instance.
PublishMessagePOST /v2/messages/publicationPublishes a message asynchronously.
ResolveIncidentPOST /v2/incidents/{incidentKey}/resolutionResolves an incident.
SetVariablesPUT /v2/element-instances/{elementInstanceKey}/variablesSets variables (local/global by param).
ThrowErrorPOST /v2/jobs/{jobKey}/errorThrows BPMN error from worker to engine.
TopologyGET /v2/topologyReturns cluster info.
UpdateJobRetriesPATCH /v2/jobs/{jobKey}Updates job retries, PATCH can update multiple job properties.
UpdateJobTimeoutPATCH /v2/jobs/{jobKey}Updates job timeout, PATCH can update multiple job properties.