Update 0.26 to 1.0
The following sections explain which adjustments must be made to migrate from Camunda Cloud 0.26.x to 1.0.0 for each component of the system.
Be aware that the major version update from 0.26 to 1.0 is not backwards compatible. Therefore, data cannot be migrated from 0.26 to 1.0 and client applications must be adjusted to the new API versions.
Server
Zeebe
Distribution
With Zeebe 1.0.0, the Java package names were adjusted. They changed from
io.zeebe
to io.camunda.zeebe
. Therefore, any logging configurations and
similar, which are based on the package names, must be adjusted.
Additionally, the group id of the Java artifacts were migrated from io.zeebe
to io.camunda
. This requires all dependencies to the artifacts to be updated
to use the new group id.
The downloadable artifact of the Zeebe distribution was renamed from:
zeebe-distribution-${VERSION}.tar.gz
tocamunda-cloud-zeebe-${VERSION}.tar.gz
,zeebe-distribution-${VERSION}.zip
tocamunda-cloud-zeebe-${VERSION}.zip
Workflow Engine
The support for YAML workflows was removed from the workflow engine, after the deprecation with 0.26. This means only BPMN processes are supported from now on.
Elasticsearch Exporter
The supported Elasticsearch version of the Elasticsearch Exporter was increased
from 6.8
to 7.10
, read more about this in the
Elasticsearch section.
The index templates of the Elasticsearch Exporter were migrated to use composable index templates.
Protocol
The Java protocol received the following adjustments:
Enum
IncidentIntent
- remove
CREATE
- change short value of
CREATED
to0
- change short value of
RESOLVE
to1
- change short value of
RESOLVED
to2
- remove
Enum
WorkflowInstanceIntent
renamed toProcessInstanceIntent
Enum
WorkflowInstanceSubscriptionIntent
renamed toProcessMessageSubscriptionIntent
Enum
WorkflowInstanceCreationIntent
renamed toProcessInstanceCreationIntent
Enum
JobIntent
- remove
CREATE
andACTIVATED
- change short value of
CREATED
to0
- change short value of
COMPLETE
to1
- change short value of
COMPLETED
to2
- change short value of
TIME_OUT
to3
- change short value of
TIMED_OUT
to4
- change short value of
FAIL
to5
- change short value of
FAILED
to6
- change short value of
UPDATE_RETRIES
to7
- change short value of
RETRIES_UPDATED
to8
- change short value of
CANCEL
to9
- change short value of
CANCELED
to10
- change short value of
THROW_ERROR
to11
- change short value of
ERROR_THROWN
to12
- remove
Enum
MessageIntent
- rename
DELETE
toEXPIRE
- rename
DELETED
toEXPIRED
- rename
Enum
MessageStartEventSubscriptionIntent
- remove
OPEN
,OPENED
,CLOSE
andCLOSED
- add
CREATED
,CORRELATED
andDELETED
- remove
Enum
MessageSubscriptionIntent
- rename
OPEN
toCREATE
- rename
OPENED
toCREATED
- rename
CLOSE
toDELETE
- rename
CLOSED
toDELETED
- add `CORRELATING
- rename
Enum
TimerIntent
- remove
CREATE
- change short value of
CREATED
to0
- change short value of
TRIGGER
to1
- change short value of
TRIGGERED
to2
- change short value of
CANCEL
to3
- change short value of
CANCELED
to4
- remove
Interface
DeploymentRecordValue
- rename method
getDeployedWorkflows
togetProcessMetadata
and change type fromList<DeployedWorkflow>
toList<ProcessMetadataValue>
- rename method
Interface
IncidentRecordValue
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
Interface
JobRecordValue
- rename method
getWorkflowDefinitionVersion
togetProcessDefinitionVersion
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
Interface
MessageStartEventSubscriptionRecordValue
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
Interface
MessageSubscriptionRecordValue
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
Interface
TimerRecordValue
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
Interface
VariableRecordValue
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
gRPC
The following changes were made to the gRPC protocol definition:
ActivatedJob
message- rename field
workflowInstanceKey
toprocessInstanceKey
- rename field
workflowDefinitionVersion
toprocessDefinitionVersion
- rename field
workflowKey
toprocessDefinitionKey
- rename field
CancelWorkflowInstanceRequest
message renamed toCancelProcessInstanceRequest
- rename field
workflowInstanceKey
toprocessInstanceKey
- rename field
CancelWorkflowInstanceResponse
message renamed toCancelProcessInstanceResponse
CreateWorkflowInstanceRequest
message renamed toCreateProcessInstanceRequest
- rename field
workflowKey
toprocessDefinitionKey
- rename field
CreateWorkflowInstanceResponse
message renamed toCreateProcessInstanceResponse
- rename field
workflowKey
toprocessDefinitionKey
- rename field
workflowInstanceKey
toprocessInstanceKey
- rename field
CreateWorkflowInstanceWithResultRequest
message renamed toCreateProcessInstanceWithResultRequest
- change type of field
request
fromCreateWorkflowInstanceRequest
toCreateProcessInstanceRequest
- change type of field
CreateWorkflowInstanceWithResultResponse
message renamed toCreateProcessInstanceWithResultResponse
- rename field
workflowKey
toprocessDefinitionKey
- rename field
workflowInstanceKey
toprocessInstanceKey
- rename field
DeployWorkflowRequest
message renamed toDeployProcessRequest
- rename field
workflows
toprocesses
and change type fromWorkflowRequestObject
toProcessRequestObject
- rename field
WorkflowRequestObject
message renamed toProcessRequestObject
- remove enum
ResourcetType
- remove field type
- change field id of
definition
field to 2
- remove enum
DeployWorkflowResponse
message renamed toDeployProcessResponse
- rename field
wokrflows
toprocesses
and change type fromWorkflowMetadata
toProcessMetadata
- rename field
WorkflowMetadata
message renamed toProcessMetadata
- rename field
workflowKey
toprocessDefinitionKey
- rename field
Partition
message- enum
PartitionBrokerRole
addedINACTIVE
state
- enum
Gateway
servicerename rpc
CancelWorkflowInstance
toCancelProcessInstance
and change input type fromCancelWorkflowInstanceRequest
toCancelProcessInstanceRequest
and output type fromCancelWorkflowInstanceResponse
toCancelProcessInstanceResponse
rename rpc
CreateWorkflowInstance
toCreateProcessInstance
and change input type fromCreateWorkflowInstanceRequest
toCreateProcessInstanceRequest
and output type fromCreateWorkflowInstanceResponse
toCreateProcessInstanceResponse
rename rpc
CreateWorkflowInstanceWithResult
toCreateProcessInstance
and change input type fromCreateWorkflowInstanceWithResultRequest
toCreateProcessInstanceWithResultRequest
and output type fromCreateWorkflowInstanceWithResultResponse
toCreateProcessInstanceResponse
rename rpc
DeployWorkflow
toDeployProcess
and change input type fromDeployWorkflowRequest
toDeployProcessRequest
and output type fromDeployWorkflowResponse
toDeployProcessResponse
Exporter API
In the Java Exporter API, the depracted method Controller#scheduleTask
was removed.
Operate
With Operate 1.0.0, the Java package names were adjusted. They changed from
org.camunda.operate
to io.camunda.operate
. Therefore, any logging
configurations and similar, which are based on the package names, must be
adjusted.
The downloadable artifact of the Operate distribution was renamed from:
camunda-operate-${VERSION}.tar.gz
tocamunda-cloud-operate-${VERSION}.tar.gz
,camunda-operate-${VERSION}.zip
tocamunda-cloud-operate-${VERSION}.zip
The supported Elasticsearch version was increased from 6.8
to 7.10
. Read
more about this in the Elasticsearch section.
Tasklist
With Tasklist 1.0.0, the Java package names were adjusted. They changed from
io.zeebe.tasklist
to io.camunda.tasklist
. Therefore, any logging
configurations and similar, which are based on the package names, must be
adjusted.
Additionally, the configuration prefix was migrated from zeebe.tasklist
to
camunda.tasklist
, which requires all configurations to be adjusted to the new
prefix.
The downloadable artifact of the Tasklist distribution was renamed from:
zeebe-tasklist-${VERSION}.tar.gz
tocamunda-cloud-tasklist-${VERSION}.tar.gz
,zeebe-tasklist-${VERSION}.zip
tocamunda-cloud-tasklist-${VERSION}.zip
The supported Elasticsearch version was increased from 6.8
to 7.10
. Read
more about this in the Elasticsearch section.
Elasticsearch
Zeebe, Operate, and Tasklist use Elasticsearch as Datastore to exchange the event stream from Zeebe's exporter, and store their own data model representation.
Camunda Cloud 1.0 requires an update from Elasticsearch 6.8 to 7.10.
Follow the update guide from Elasticsearch, to migrate existing data.
Zeebe, Operate, and Tasklist data inside Elasticsearch cannot be migrated, it can only be preserved for histroy or audit purpose, but cannot be loaded by Camunda Cloud 1.0.
If you want to keep the existing data in Elasticsearch, ensure you set a new index prefix for all systems. See the configuration documentation for Zeebe, Operate, and Tasklist.
Client
Zeebe Java Client
With Zeebe 1.0.0, the Java package names were adjusted. They changed from
io.zeebe
to io.camunda.zeebe
. Therefore, any imports and logging
configurations and similar, which are based on the package names, must be
adjusted.
Additionally, the group id of the Java artifacts were migrated from io.zeebe
to io.camunda
. This requires all dependencies to the artifacts to be updated
to use the new group id.
The public API of the Java client changed as follows:
Interface
ActivatedJob
- rename method
getWorkflowInstanceKey
togetProcessInstanceKey
- rename method
getWorkflowDefinitionVersion
togetProcessDefinitionVersion
- rename method
getWorkflowKey
togetProcessDefinitionKey
- rename method
Class
ClientProperties
- remove deprecated field
BROKER_CONTACTPOINT
- remove deprecated field
Interface
ZeebeClientBuilder
- remove deprecated method
brokerContactPoint
- remove deprecated method
Interface
ZeebeClientConfiguration
- remove deprecated method
getBrokerContactPoint
- remove deprecated method
Interface
ZeebeClient
- change return type of
newDeployCommand
fromDeployWorkflowCommandStep1
toDeployProcessCommandStep1
- change return type of
newCreateInstanceCommand
fromCreateWorkflowInstanceCommandStep1
toCreateProcessInstanceCommandStep1
- change return type of
newCancelInstanceCommand
fromCancelWorkflowInstanceCommandStep1
toCancelProcessInstanceCommandStep1
- change return type of
Zeebe Go Client
The repository of Zeebe was moved from github.com/zeebe-io/zeebe
to
github.com/camunda-cloud/zeebe
. Therefore, all go dependencies and imports must be adjusted to the new GitHub URL.
The public API of the Go client was changed as follows:
Interface
CancelInstanceStep1
- rename method
WorkflowInstanceKey
toProcessInstanceKey
and change return type fromDispatchCancelWorkflowInstanceCommand
toDispatchCancelProcessInstanceCommand
- rename method
Interface
DispatchCancelWorkflowInstanceCommand
renamed toDispatchCancelProcessInstanceCommand
Interface
CancelWorkflowInstanceCommand
renamed toCancelProcessInstanceCommand
- rename method
WorkflowInstanceKey
toProcessInstanceKey
- rename method
Interface
CreateInstanceCommandStep1
- rename method
WorkflowKey
toProcessDefinitionKey
and changeDispatchCancelProcessInstanceCommand
- rename method
Struct
DeployCommand
- method
AddResource(definition, name, resourceType)
removeresourceType
from parameter list
- method
Interface
Client
- rename method
NewDeployWorkflowCommand
toNewDeployProcessCommand
- rename method