opensearch-project / opensearch-project/data-prepper
Dynamic key_path_prefix in S3 DLQ
Nobody has claimed this yet.
- 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 the S3 DLQ, I would like to dynamically determine the prefix to send failed documents to with Data Prepper expressions, similar to how the S3 sink path_prefix can be dynamic
Describe the solution you'd like
sink:
- opensearch:
s3:
dlq:
key_path_prefix: "my-${/key}-prefix/"
Alternative Solution
An alternative that would be more useful would be to create a pipeline DLQ that can send to the s3 sink, which supports dynamic path prefix
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the S3 DLQ entry point and compare it with the S3 sink's dynamic path_prefix behavior, including its Data Prepper expression handling. Done means the S3 DLQ accepts an expression-based key_path_prefix like the example and routes failed documents using the evaluated prefix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, java
- Domain
- backend, cloud, data-engineering
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100