For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.8

Camunda Exporter

The Camunda Exporter exports Zeebe records directly to Elasticsearch or OpenSearch. Unlike the Elasticsearch and OpenSearch exporters, it exports records in the format required by Operate and Tasklist, so you don’t need to configure additional importers or data transformations.

Using the Camunda Exporter can increase process instance throughput and reduce the latency of changes appearing in Operate and Tasklist.

note

When exporting, indexes are created as required and not recreated if they already exist. However, disabling the exporter does not delete indexes. Administrators must handle deletions. You can configure a retention policy to automatically delete data after a set number of days.

Configuration​

Camunda Exporter is enabled by default if secondary storage is configured to use Elasticsearch or OpenSearch. See the properties prefixed with CAMUNDA_DATA_SECONDARYSTORAGE in secondary-storage configuration properties.

Helm values mapping

The option names in the tabs below (for example, rolloverInterval) are exporter option names, not top-level Helm values keys.

The Helm chart has values for some history and retention options. Each tab below names them. For options without a Helm value, set the environment variables in orchestration.env, for example ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_BULK_SIZE. Do not use orchestration.configuration for this, because it replaces the complete generated application.yaml.

Set these options as exporter arguments with the application property prefix zeebe.broker.exporters.camundaexporter.args.. The camunda.data.secondary-storage.* properties do not include these options in Camunda 8.8. The exception is history.processInstanceEnabled. See the History tab.

When you set zeebe.broker.exporters.camundaexporter.args.*, also set zeebe.broker.exporters.camundaexporter.className: io.camunda.exporter.CamundaExporter. The Helm chart already sets the class name. Without the class name, the broker cannot load the exporter.

You can also configure the following properties using exporter args:

zeebe:
broker:
exporters:
# Camunda Exporter ----------
# An example configuration for the camunda exporter:
#
# These setting can also be overridden using the environment variables "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_..."
# To convert a YAML formatted variable to an environment variable, start with the top-level property and separate every nested property with an underscore (_).
# For example, the property "zeebe.broker.exporters.camundaexporter.args.bulk.size" would be converted to "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_BULK_SIZE".
#
camundaexporter:
className: io.camunda.exporter.CamundaExporter
args:
OptionDescriptionDefault
connectConnection configuration options. See Connect.
indexIndex configuration options. See Index.
bulkBulk configuration options. See Bulk.
historyRetention configuration options. See History.
createSchemaIf true, checks schema readiness before exporting.true

Options​

Application property prefix for these options: zeebe.broker.exporters.camundaexporter.args.index.

note

In Camunda 8.8, the schema manager creates the indices from camunda.database.index.*. The exporter options numberOfShards, numberOfReplicas, shardsByIndexName, and replicasByIndexName do not change the indices. Set these camunda.database.index.* settings instead: number-of-shards, number-of-replicas, shards-by-index-name and replicas-by-index-name. In Helm, set the replica count with orchestration.index.replicas.

OptionDescriptionDefault
numberOfShardsThe number of shards used for each created index.1
numberOfReplicasThe number of shard replicas used for each created index.1
variableSizeThresholdDefines a threshold for variable size. Variables exceeding this threshold are split into two properties: FULL_VALUE (full content, not indexed) and VALUE (truncated content, indexed).8191
shardsByIndexNameA map where the key is the index name and the value is the number of shards, allowing you to override the default numberOfShards setting for specific indices.
replicasByIndexNameA map where the key is the index name and the value is the number of replicas, allowing you to override the default numberOfReplicas setting for specific indices.

Example​

Here is an example configuration of the exporter:

---
exporters:
# Camunda Exporter ----------
# An example configuration for the camunda exporter:
#
# These setting can also be overridden using the environment variables "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_..."
# To convert a YAML formatted variable to an environment variable, start with the top-level property and separate every nested property with an underscore (_).
# For example, the property "zeebe.broker.exporters.camundaexporter.args.bulk.size" would be converted to "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_BULK_SIZE".
#
camundaexporter:
args:
connect:
dateFormat: yyyy-MM-dd'T'HH:mm:ss.SSSZZ
socketTimeout: 1000
connectTimeout: 1000

bulk:
delay: 5
size: 1000

history:
elsRolloverDateFormat: "date"
rolloverInterval: "1d"
rolloverBatchSize: 500
reindexBatchSize: 2500
waitPeriodBeforeArchiving: "1h"
delayBetweenRuns: 2000
maxDelayBetweenRuns: 60000
processInstanceEnabled: true
retention:
enabled: false
minimumAge: 30d
policyName: camunda-retention-policy
usageMetricsMinimumAge: 730d
usageMetricsPolicyName: camunda-usage-metrics-retention-policy

batchOperation:
exportItemsOnCreation: true

skipVariableWriteWithoutUserTasks: false

createSchema: true