opensearch-project / opensearch-project/data-prepper

Loading partial pipeline configuration from the environment

Open
#947 12 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

backlog enhancement Priority-High
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Is your feature request related to a problem? Please describe.
As a user of data prepper, I would like the ability to load part of my configuration from the environment. This would allow me to deploy the same pipeline configuration file into different environments and limit the number of pipeline configuration files I need to manage. My core business logic would stay the same while my environments change.

Describe the solution you'd like
The pipeline configuration files would support reading environment variables into the pipeline.

Example config snippet where the host url is loaded by and environment variable OPENSEARCH_URL:

sink:
   - opensearch:
     hosts:
       - ${OPENSEARCH_URL}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing how Data Prepper loads pipeline configuration, then identify where environment-variable substitution would fit; done means a pipeline configuration can resolve values such as ${OPENSEARCH_URL} while preserving the shared configuration across environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.