Enable configuration of shards and replicas via destination settings

Created on 12 September 2025, 21 days ago

Problem/Motivation

At present, the shard and replica configuration defaults are hard-coded within the destination class. While these settings can be overridden for individual pipelines using the destinationSettings section of the YAML file—which suffices for most scenarios—there is a limitation. If we require environment-specific shard and replica configurations via settings override, this is not feasible, as the YAML file remains static and cannot accommodate dynamic adjustments per remote environment.

Proposed resolution

Introduce replica and shard settings as configurable options in the Destination plugin's configuration form. If these settings are provided, use their values; otherwise, fall back to the hardcoded defaults.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇫🇮Finland msgph

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024