Skip to main content
Version: 8.8 (unreleased)

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.

You can also configure the following properties using exporter args:

zeebe:
brokers:
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.index.numberOfShards" would be converted to "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_INDEX_NUMBEROFSHARDS".
#
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

OptionDescriptionDefault
numberOfShardsThe number of shards used for each created index.1
numberOfReplicasThe number of shard replicas used for created index.0
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.index.numberOfShards" would be converted to "ZEEBE_BROKER_EXPORTERS_CAMUNDAEXPORTER_ARGS_INDEX_NUMBEROFSHARDS".
#
camundaexporter:
args:
connect:
dateFormat: yyyy-MM-dd'T'HH:mm:ss.SSSZZ
socketTimeout: 1000
connectTimeout: 1000

bulk:
delay: 5
size: 1000

index:
numberOfShards: 3
numberOfReplicas: 0

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

batchOperation:
exportItemsOnCreation: true

createSchema: true