Skip to content

fix: configure index replicas for the legacy Zeebe ES/OS exporter#6431

Merged
bkenez merged 2 commits into
mainfrom
6430-zeebe-exporter-replicas
Jun 24, 2026
Merged

fix: configure index replicas for the legacy Zeebe ES/OS exporter#6431
bkenez merged 2 commits into
mainfrom
6430-zeebe-exporter-replicas

Conversation

@bkenez

@bkenez bkenez commented Jun 23, 2026

Copy link
Copy Markdown
Member

Which problem does the PR fix?

Closes #6430

What's in this PR?

The unified-config remap (#4554) replaced the legacy
zeebe.broker.exporters.<engine>.args.index.numberOfReplicas with the Camunda exporter's unified key.
Those keys drive independent exporters, so the remap dropped the zeebe-record-* replica configuration
entirely (defaulted to 0 since 8.9).

This re-adds numberOfReplicas to the legacy ES/OS exporter, controlled by a new
orchestration.exporters.zeebe.replicas that defaults to orchestration.index.replicas (preserving 8.8
behavior); an explicit value, including 0, is honored. Applied to 8.9 and 8.10. The 8.10 deprecation of
this key (removal in 8.11) is handled in #6317.

Checklist

Please make sure to follow our Contributing Guide.

Before opening the PR:

  • In the repo's root dir, run make go.update-golden-only.
  • There is no other open pull request for the same update/change.
  • Tests for charts are added (if needed).
  • In-repo documentation are updated (if needed).

After opening the PR:

  • Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
  • Did all checks/tests pass in the PR?

@bkenez bkenez requested a review from a team as a code owner June 23, 2026 08:41
@bkenez bkenez requested review from Ian-wang-liyang and Copilot and removed request for a team June 23, 2026 08:41
@github-actions github-actions Bot added version/8.9 Camunda applications/cycle version version/8.10 Camunda applications/cycle version component/orchestration labels Jun 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restores configurability of the legacy Zeebe ES/OS exporter (zeebe-record-*) index replica count for chart versions 8.9 and 8.10 by re-introducing numberOfReplicas into the legacy exporter configuration, with an explicit override that can still honor 0.

Changes:

  • Adds orchestration.exporters.zeebe.replicas (nullable) to control legacy exporter index replicas, defaulting to orchestration.index.replicas when unset.
  • Renders zeebe.broker.exporters.{elasticsearch,opensearch}.args.index.numberOfReplicas in the unified application config for legacy exporters.
  • Updates schema/README and adds unit tests validating inheritance + explicit overrides (including 0), for both ES and OpenSearch paths.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
charts/camunda-platform-8.9/values.yaml Introduces the new nullable value orchestration.exporters.zeebe.replicas.
charts/camunda-platform-8.9/values.schema.json Adds schema support for the new value.
charts/camunda-platform-8.9/values.schema.extra.json Extends the extra schema overlay to include the new value.
charts/camunda-platform-8.9/templates/orchestration/files/_application.yaml Re-adds numberOfReplicas under legacy ES/OS exporter index config with “inherit unless explicitly set” semantics.
charts/camunda-platform-8.9/test/unit/orchestration/configmap_unified_test.go Adds unit tests for default inheritance, override, and explicit 0, for ES and OS exporters.
charts/camunda-platform-8.9/README.md Regenerates docs table to include the new value.
charts/camunda-platform-8.10/values.yaml Introduces the new nullable value orchestration.exporters.zeebe.replicas.
charts/camunda-platform-8.10/values.schema.json Adds schema support for the new value.
charts/camunda-platform-8.10/values.schema.extra.json Extends the extra schema overlay to include the new value.
charts/camunda-platform-8.10/templates/orchestration/files/_application.yaml Re-adds numberOfReplicas under legacy ES/OS exporter index config with “inherit unless explicitly set” semantics.
charts/camunda-platform-8.10/test/unit/orchestration/configmap_unified_test.go Adds unit tests for default inheritance, override, and explicit 0, for ES and OS exporters.
charts/camunda-platform-8.10/README.md Regenerates docs table to include the new value.

Comment thread charts/camunda-platform-8.9/values.schema.json
Comment thread charts/camunda-platform-8.9/values.schema.extra.json
Comment thread charts/camunda-platform-8.10/values.schema.json
Comment thread charts/camunda-platform-8.10/values.schema.extra.json
Comment on lines +3069 to +3070
## @param orchestration.exporters.zeebe.replicas can be used to specify the number of replicas for the legacy Zeebe Elasticsearch and OpenSearch exporter indices. Defaults to orchestration.index.replicas.
replicas: ~
@bkenez bkenez force-pushed the 6430-zeebe-exporter-replicas branch from 1496681 to e572680 Compare June 24, 2026 05:15
@bkenez bkenez force-pushed the 6430-zeebe-exporter-replicas branch from e572680 to e0f39e5 Compare June 24, 2026 05:23
@bkenez bkenez changed the title fix: configure index replicas for the legacy Zeebe ES/OS exporter (zeebe-record-*) fix: configure index replicas for the legacy Zeebe ES/OS exporter Jun 24, 2026
@bkenez bkenez enabled auto-merge June 24, 2026 05:33
@bkenez bkenez added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit 367cb08 Jun 24, 2026
173 checks passed
@bkenez bkenez deleted the 6430-zeebe-exporter-replicas branch June 24, 2026 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/orchestration version/8.9 Camunda applications/cycle version version/8.10 Camunda applications/cycle version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legacy Zeebe ES/OS exporter index replicas not configurable in 8.9/8.10

3 participants