Add optional timeout configurations for AWS Lambda plugin#6413
Merged
dinujoh merged 3 commits intoJan 28, 2026
Conversation
graytaylor0
previously approved these changes
Jan 15, 2026
srikanthjg
previously approved these changes
Jan 21, 2026
build failing, please fix the build build
6179285 to
5dc16ef
Compare
added 2 commits
January 22, 2026 16:11
- Add api_call_attempt_timeout configuration for per-attempt timeouts - Make read_timeout optional (only applied when specified) - Add comprehensive unit tests for timeout configurations - Maintain backward compatibility with existing configurations - Follow AWS SDK timeout hierarchy best practices Both timeout parameters are now optional and only configured when explicitly set, allowing users to fine-tune timeout behavior for their Lambda functions. Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
- Add required OpenSearch Contributors license header - Fixes license header violation in new test file Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
5dc16ef to
17b02d5
Compare
dinujoh
previously approved these changes
Jan 22, 2026
srikanthjg
previously approved these changes
Jan 22, 2026
Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
17b02d5 to
ab3b76d
Compare
dinujoh
approved these changes
Jan 28, 2026
simonelbaz
pushed a commit
to simonelbaz/data-prepper
that referenced
this pull request
Jan 31, 2026
…-project#6413) * Add optional timeout configurations for AWS Lambda plugin - Add api_call_attempt_timeout configuration for per-attempt timeouts - Make read_timeout optional (only applied when specified) - Add comprehensive unit tests for timeout configurations - Maintain backward compatibility with existing configurations - Follow AWS SDK timeout hierarchy best practices Both timeout parameters are now optional and only configured when explicitly set, allowing users to fine-tune timeout behavior for their Lambda functions. Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Add license header to ClientOptionsTest.java - Add required OpenSearch Contributors license header - Fixes license header violation in new test file Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Remove unused Duration import from ClientOptionsTest Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> --------- Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> Co-authored-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> Signed-off-by: Simon ELBAZ <elbazsimon9@gmail.com>
simonelbaz
pushed a commit
to simonelbaz/data-prepper
that referenced
this pull request
Jan 31, 2026
…-project#6413) * Add optional timeout configurations for AWS Lambda plugin - Add api_call_attempt_timeout configuration for per-attempt timeouts - Make read_timeout optional (only applied when specified) - Add comprehensive unit tests for timeout configurations - Maintain backward compatibility with existing configurations - Follow AWS SDK timeout hierarchy best practices Both timeout parameters are now optional and only configured when explicitly set, allowing users to fine-tune timeout behavior for their Lambda functions. Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Add license header to ClientOptionsTest.java - Add required OpenSearch Contributors license header - Fixes license header violation in new test file Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Remove unused Duration import from ClientOptionsTest Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> --------- Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> Co-authored-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
simonelbaz
pushed a commit
to simonelbaz/data-prepper
that referenced
this pull request
Jan 31, 2026
…-project#6413) * Add optional timeout configurations for AWS Lambda plugin - Add api_call_attempt_timeout configuration for per-attempt timeouts - Make read_timeout optional (only applied when specified) - Add comprehensive unit tests for timeout configurations - Maintain backward compatibility with existing configurations - Follow AWS SDK timeout hierarchy best practices Both timeout parameters are now optional and only configured when explicitly set, allowing users to fine-tune timeout behavior for their Lambda functions. Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Add license header to ClientOptionsTest.java - Add required OpenSearch Contributors license header - Fixes license header violation in new test file Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> * Remove unused Duration import from ClientOptionsTest Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> --------- Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com> Co-authored-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds optional timeout configurations to the AWS Lambda plugin in Data Prepper, addressing timeout issues when Lambda functions take longer than the default SDK timeouts.
Changes Made
Both timeout parameters are now optional and only configured when explicitly set, allowing users to fine-tune timeout behavior for their Lambda functions.
Configuration Options
yaml
aws:
lambda:
client:
Optional timeout configurations
api_call_attempt_timeout: PT5M # Per-attempt timeout (NEW)
read_timeout: PT15M # HTTP read timeout (now optional)
api_call_timeout: PT15M
connection_timeout: PT60S
max_concurrency: 200
Issues Resolved
#6257
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.