opensearch-project / opensearch-project/data-prepper

[BUG] S3-SQS source with acknowledgments does not honor shutdown_timeout

Open
#6,929 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
374
Forks
354
Avg merge
3d 18h
Merged PRs (30d)
8

Description

Describe the bug
The S3-SQS source with acknowledgments enabled does not wait for pending acknowledgments to complete before shutting down. It does honor shutdown_timeout to complete writing s3 objects to buffer, but will exit immediately after that instead of waiting for pending acknowledgments to complete

Expected behavior
The S3-SQS source should wait for pending acknowledgments to complete before shutting down.

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 locating the S3-SQS source shutdown path and its pending-acknowledgment handling, then trace how shutdown_timeout is applied after S3 objects are written to the buffer. Reproduce the shutdown scenario with acknowledgments enabled and verify that shutdown waits for pending acknowledgments to complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
backend, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.