opensearch-project / opensearch-project/data-prepper

Support duration for all time-based fields

Open
#2,202 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

breaking change ease-of-use
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.

Some Data Prepper configurations accept duration values in the new Data Prepper duration format (#1079). Some take an integer in milliseconds. Some in seconds.

As a pipeline author or Data Prepper administrator I am not sure what value to use.

Describe the solution you'd like

Use the Data Prepper duration format consistently for any time duration.

Existing configurations may need to be replaced so some of these changes may be breaking.

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

Start by inventorying Data Prepper configuration fields that accept durations, then compare their current units with the new duration format from issue #1079. Done means time-based fields consistently use that format, with any breaking replacements and affected configuration behavior identified and covered by the relevant tests.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.