Configuring the Persistent State Database
You can configure the persistent state settings for each xUML service in the service configuration.
To filter for the persistent state settings, enter persistent state to the configuration filter.
Kubernetes Configuration Options
Attribute | Description | Allowed Values / Example | |
---|---|---|---|
Database |
Do not change the automatically generated Database configuration. | ||
Worker Limit | Define the maximum number of parallel threads used to process pending events. Each active worker requires one license slot (concurrent connection) to process activities. | an integer number | |
5 | 5 events can be processed in parallel (default). |
Docker/Integration (Bridge) Configuration Options
Attribute | Description | Allowed Values / Example | |
---|---|---|---|
Database | Define where the process data (persisted data, pending events, current states and more) are kept. Refer to Persistent State Data Storage for a detailed overview on the possibilities. | StateDB | The persistent state data is kept in an external database that can be configured via the alias StateDB (see also External Database Settings below). |
:local: | The persistent state data is kept in a local SQLite database (default). | ||
:memory: | The persistent state data is kept in memory. On service shutdown, data is written to a local SQLite database. This is faster than :local:, but on service crash all data is lost. | ||
:volatile: | The persistent state data is kept in memory. On service shutdown, all data is lost. | ||
Worker Limit | Define the maximum number of parallel threads used to process pending events. Each active worker requires one license slot (concurrent connection) to process activities. | an integer number | |
5 | 5 events can be processed in parallel (default). |
External Database Settings
Via the Database attribute of the persistent state configuration (StateDB alias), you can specify an external database. The configuration of this database can also be specified in the service configuration.
To filter for the persistent state settings, enter statedb to the configuration filter.
You can find a detailed explanation of all database settings in the SQL Adapter Reference.
Related Content
Related Pages: