opensearch-project / opensearch-project/data-prepper

Support compression for the DLQ S3 objects

Open
#4,074 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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 mentioned on the initial feature request for the S3 DLQ, it would be great to add support for compressing the objects before storing them in S3 bucket.

Describe the solution you'd like
The ability to have the failed objects compressed into some formats instead of storing them as plain json files, similar to the S3 sink plugin. An example for the config could be

sink:
    opensearch:
      dlq:
        s3:
          bucket: "my-dlq-bucket"
          key_path_prefix: "dlq-files/"
          region: "us-west-2"
          sts_role_arn: "arn:aws:iam::123456789012:role/dlq-role"
          compression: gzip

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 reading the initial S3 DLQ feature request (#2298) and the S3 sink plugin, which the issue identifies as the comparison point. Trace how S3 DLQ objects are written, then define the supported compression configuration and verify that failed objects are stored compressed rather than as plain JSON.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.