Skip to main content
Version: v11.*.*

Configuration

The KadaiAdapter is configured via external Spring-Boot-Configurations. Below we will list all configurable and non-spring-standard properties and shortly explain them.

Kernel

Properties

PropertyRequired?DescriptionDefault ValueSample Value
kadai-adapter.kernel.run-as-useryesKadai-name of the user used to interact with Kadain.a.taskadmin
kadai-adapter.kernel.scheduler.start-kadai-tasks-intervalnoInterval in milliseconds between runs for retrieving new external tasks and creating them in Kadai500010000
kadai-adapter.kernel.scheduler.check-finished-referenced-tasks-intervalnoInterval in milliseconds between runs for retrieving finished external tasks and finishing them in Kadai500010000
kadai-adapter.kernel.scheduler.complete-referenced-tasks-intervalnoInterval in milliseconds between runs for retrieving completed Kadai-Tasks and completing them in external systems500010000
kadai-adapter.kernel.scheduler.claim-referenced-tasks-intervalnoInterval in milliseconds between runs for retrieving claimed Kadai-Tasks and claiming them in external systems500010000
kadai-adapter.kernel.scheduler.cancel-claim-referenced-tasks-intervalnoInterval in milliseconds between runs for retrieving cancel-claimed Kadai-Tasks and cancel-claiming them in external systems500010000
kadai-adapter.kernel.scheduler.start-kadai-tasks-thread-countnoNumber of threads used for parallel creation of KADAI tasks110
kadai-adapter.kernel.kadai-connector.batch-sizenoAmount of tasks to sync from Kadai to external systems in a single run6410
kadai-adapter.kernel.kadai-connector.task-mapping.object-reference.companynoDefault Object-Reference-Company used for mapping of external tasks to Kadai-TasksDEFAULT_COMPANYDEFAULT_COMPANY
kadai-adapter.kernel.kadai-connector.task-mapping.object-reference.systemnoDefault Object-Reference-System used for mapping of external tasks to Kadai-TasksDEFAULT_SYSTEMDEFAULT_SYSTEM
kadai-adapter.kernel.kadai-connector.task-mapping.object-reference.system-instancenoDefault Object-Reference-System-Instance used for mapping of external tasks to Kadai-TasksDEFAULT_SYSTEM_INSTANCEDEFAULT_SYSTEM_INSTANCE
kadai-adapter.kernel.kadai-connector.task-mapping.object-reference.typenoDefault Object-Reference-Type used for mapping of external tasks to Kadai-TasksDEFAULT_TYPEDEFAULT_TYPE
kadai-adapter.kernel.kadai-connector.task-mapping.object-reference.valuenoDefault Object-Reference-Value used for mapping of external tasks to Kadai-TasksDEFAULT_VALUEDEFAULT_VALUE
kadai.datasource.jdbcUrlyesJDBC-URL of of the Kadai instance the KadaiAdapter is assigned ton.a.jdbc:h2:mem:kadai;NON_KEYWORDS=KEY,VALUE;IGNORECASE=TRUE;LOCK_MODE=0;DB_CLOSE_ON_EXIT=FALSE
kadai.datasource.driverClassNameyesDriver-Classname of of the Kadai instance the KadaiAdapter is assigned ton.a.org.h2.Driver
kadai.datasource.usernameyesUsername of of the Kadai instance the KadaiAdapter is assigned ton.a.sa
kadai.datasource.passwordyesPassword of of the Kadai instance the KadaiAdapter is assigned ton.a.sa
kadai.schemaNameyesSchema-Name of of the Kadai instance the KadaiAdapter is assigned ton.a.KADAI

Camunda 7 (Plugin)

Properties

For a complete Configuration-Reference of Camunda 7, check out their docs.

PropertyRequired?DescriptionDefault ValueSample Value
kadai-adapter.plugin.camunda7.claiming.enablednoWhether to enable synchronization of claims.falsetrue
kadai-adapter.plugin.camunda7.client.usernamenoUsername used for basic-auth with Camundaundefineddemo
kadai-adapter.plugin.camunda7.client.passwordnoPassword used for basic-auth with Camundaundefineddemo
kadai-adapter.plugin.camunda7.outbox.client.usernamenoUsername used for basic-auth with the Outbox REST-APIundefinedoutboxRestUser
kadai-adapter.plugin.camunda7.outbox.client.passwordnoPassword used for basic-auth with the Outbox REST-APIundefinedpwd4OutboxRestUser
kadai-adapter.plugin.camunda7.systemsyesList of Camunda7-Systems as Spring List-Configuration[]kadai-adapter.plugin.camunda7.systems[0].system-rest-url=http://localhost:8081/example-context-root/engine-rest, kadai-adapter.plugin.camunda7.systems[0].system-task-event-url=http://localhost:8081/example-context-root/outbox-rest
kadai-adapter.plugin.camunda7.lock-durationnoDuration in seconds used for locking tasks in the Outbox in clustered KadaiAdapter-Environments042
kadai-adapter.plugin.camunda7.xsrf-tokennoXSRF-Token used when communicating with either Camunda or the Outbox REST-APIn.a.FOO_UNIQUE_TOKEN_123
kadai-adapter.plugin.camunda7.outbox.auth-typenoAuthentication type for the Outbox REST API. BASIC uses username/password; OAUTH2 uses OAuth2 client-credentials.BASICOAUTH2
kadai-adapter.plugin.camunda7.outbox.oauth2.token-urinoToken endpoint URI of the OAuth2 authorization server (required when auth-type=OAUTH2)n.a.http://localhost:8083/oauth2/token
kadai-adapter.plugin.camunda7.outbox.oauth2.client-idnoOAuth2 client ID (required when auth-type=OAUTH2)n.a.kadai-adapter
kadai-adapter.plugin.camunda7.outbox.oauth2.client-secretnoOAuth2 client secret (required when auth-type=OAUTH2)n.a.super-secret
kadai-adapter.plugin.camunda7.outbox.oauth2.scopesnoSpace-separated list of OAuth2 scopes to request (required when auth-type=OAUTH2)n.a.outbox:read outbox:write

Camunda 8 (Plugin)

Properties

For a complete Configuration-Reference of Camunda 8, check out their docs.

PropertyRequired?DescriptionDefault ValueSample Value
kadai-adapter.plugin.camunda8.claiming.enablednoWhether to enable synchronization of claims.falsetrue
kadai-adapter.plugin.camunda8.completing.enablednoWhether to enable synchronization of completes.truefalse
camunda.client.modenoClient mode to use.If not set, saas mode is detected based on the presence of a camunda.client.cloud.cluster-idself-managed
camunda.client.enablednoEnable or disable the Camunda client.yesno
camunda.client.rest-addressyesREST API address of the Camunda instance that the client can connect to. The address must be an absolute URL, including the scheme. This address is used by the KadaiAdapter to communicate with the respective Camunda 8 instance.An alternative default is set by both camunda.client.modehttp://localhost:8081
camunda.client.grpc-addressnogRPC address of Camunda that the client can connect to. The address must be an absolute URL, including the scheme.An alternative default is set by both camunda.client.modehttp://localhost:26500
camunda.client.prefer-rest-over-grpcnoIf true, prefers REST over gRPC for operations supported by both protocols.truefalse
camunda.client.worker.defaults.tenant-idsnoThe tenants which all workers (tasklisteners) work for.[<default>] (the default tenant)<default>,tenant1,tenant2

The listed Camunda 8 properties are the central ones for the KadaiAdapter. There are, however, many more.

See camunda8:properties-reference.

Permissions

The KadaiAdapter requires the following minimal permissions in Camunda 8:

Resource Type: PROCESS_DEFINITION
Resource Key: *
Permissions: UPDATE_USER_TASK, UPDATE_PROCESS_INSTANCE

Although currently not required, we further recommend the following permissions for long-term compatibility:

Resource Type: PROCESS_DEFINITION
Resource Key: *
Permissions: READ_USER_TASK, READ_PROCESS_INSTANCE

All Camunda 8 Orchestration Cluster authorizations are documented at camunda8:identity-and-access-management/orchestration-cluster-authorization.