fix: configure index replicas for the legacy Zeebe ES/OS exporter#6431
Merged
Conversation
Contributor
There was a problem hiding this comment.
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 toorchestration.index.replicaswhen unset. - Renders
zeebe.broker.exporters.{elasticsearch,opensearch}.args.index.numberOfReplicasin 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 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: ~ |
11 tasks
Ian-wang-liyang
approved these changes
Jun 23, 2026
1496681 to
e572680
Compare
e572680 to
e0f39e5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.numberOfReplicaswith the Camunda exporter's unified key.Those keys drive independent exporters, so the remap dropped the
zeebe-record-*replica configurationentirely (defaulted to 0 since 8.9).
This re-adds
numberOfReplicasto the legacy ES/OS exporter, controlled by a neworchestration.exporters.zeebe.replicasthat defaults toorchestration.index.replicas(preserving 8.8behavior); an explicit value, including
0, is honored. Applied to 8.9 and 8.10. The 8.10 deprecation ofthis key (removal in 8.11) is handled in #6317.
Checklist
Please make sure to follow our Contributing Guide.
Before opening the PR:
make go.update-golden-only.After opening the PR: