opensearch-project / opensearch-project/data-prepper
[BUG] S3-SQS source with acknowledgments does not honor shutdown_timeout
Nobody has claimed this yet.
- 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
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 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