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

PropertyRequired?DescriptionDefault ValueSample Value
kadai.adapter.run-as.useryesKadai-name of the user used to interact with Kadain.a.taskadmin
kadai.adapter.scheduler.run.interval.for.start.kadai.tasks.in.millisecondsnoInterval in milliseconds between runs for retrieving new external tasks and creating them in Kadai500010000
kadai.adapter.scheduler.run.interval.for.check.finished.referenced.tasks.in.millisecondsnoInterval in milliseconds between runs for retrieving finished external tasks and finishing them in Kadai500010000
kadai.adapter.scheduler.run.interval.for.complete.referenced.tasks.in.millisecondsnoInterval in milliseconds between runs for retrieving completed Kadai-Tasks and completing them in external systems500010000
kadai.adapter.scheduler.run.interval.for.claim.referenced.tasks.in.millisecondsnoInterval in milliseconds between runs for retrieving claimed Kadai-Tasks and claiming them in external systems500010000
kadai.adapter.scheduler.run.interval.for.cancel.claim.referenced.tasks.in.millisecondsnoInterval in milliseconds between runs for retrieving cancel-claimed Kadai-Tasks and cancel-claiming them in external systems500010000
kadai.adapter.sync.kadai.batchSizenoAmount of tasks to sync from Kadai to external systems in a single run6410
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
kadai.adapter.mapping.default.objectreference.companynoDefault Object-Reference-Company used for mapping of external tasks to Kadai-TasksDEFAULT_COMPANYDEFAULT_COMPANY
kadai.adapter.mapping.default.objectreference.systemnoDefault Object-Reference-System used for mapping of external tasks to Kadai-TasksDEFAULT_SYSTEMDEFAULT_SYSTEM
kadai.adapter.mapping.default.objectreference.system.instancenoDefault Object-Reference-System-Instance used for mapping of external tasks to Kadai-TasksDEFAULT_SYSTEM_INSTANCEDEFAULT_SYSTEM_INSTANCE
kadai.adapter.mapping.default.objectreference.typenoDefault Object-Reference-Type used for mapping of external tasks to Kadai-TasksDEFAULT_TYPEDEFAULT_TYPE
kadai.adapter.mapping.default.objectreference.valuenoDefault Object-Reference-Value used for mapping of external tasks to Kadai-TasksDEFAULT_VALUEDEFAULT_VALUE

Camunda 7 (Plugin)

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

PropertyRequired?DescriptionDefault ValueSample Value
kadai-system-connector-camunda-rest-api-user-namenoUsername used for basic-auth with Camundaundefineddemo
kadai-system-connector-camunda-rest-api-user-passwordnoPassword used for basic-auth with Camundaundefineddemo
kadai-system-connector-outbox-rest-api-user-namenoUsername used for basic-auth with the Outbox REST-APIundefinedoutboxRestUser
kadai-system-connector-outbox-rest-api-user-passwordnoPassword used for basic-auth with the Outbox REST-APIundefinedpwd4OutboxRestUser
kadai-system-connector-camundaSystemURLsyesList of Camunda-Systems where each system has format: <camundaSystem1-RestURL> | <camundaSystem1-OutboxRestURL> | <camundaSystem1-Id>n.a.http://localhost:8081/example-context-root/engine-rest1 | http://localhost:8081/example-context-root/outbox-rest1 | my-system1, http://localhost:8081/example-context-root/engine-rest2 | http://localhost:8081/example-context-root/outbox-rest2 | my-system2
kadai.adapter.events.lockDurationnoDuration in seconds used for locking tasks in the Outbox in clustered KadaiAdapter-Environments042
kadai.adapter.xsrf.tokennoXSRF-Token used when communicating with either Camunda or the Outbox REST-APIn.a.FOO_UNIQUE_TOKEN_123

Camunda 8 (Plugin)

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

PropertyRequired?DescriptionDefault ValueSample Value
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.auth.token-urlnoAuthorization server URL from which to request the access token.A default is set by camunda.client.mode: saas and camunda.client.auth.method: oidchttp://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token
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.auth.audiencenoResource for which the access token must be valid.A default is set by camunda.client.mode: saas and camunda.client.auth.method: oidczeebe-api