Skip to content

Add read timeout configuration for AWS Lambda plugin#6408

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
ashrao94:add-lambda-read-timeout
Jan 15, 2026
Merged

Add read timeout configuration for AWS Lambda plugin#6408
dlvenable merged 1 commit into
opensearch-project:mainfrom
ashrao94:add-lambda-read-timeout

Conversation

@ashrao94
Copy link
Copy Markdown
Contributor

  • Add read_timeout field to ClientOptions with default 60s
  • Configure NettyNioAsyncHttpClient with read timeout
  • Update README with client configuration examples
  • Enables configurable read timeout for Lambda function calls

Description

Adds configurable read timeout support for AWS Lambda plugin HTTP client. This enhancement allows users to configure how long the
HTTP client waits for data to be read from an established connection when invoking Lambda functions, providing better control over
timeout behavior for long-running Lambda operations.

Changes include:

• Added read_timeout configuration option to ClientOptions with 60-second default
• Updated LambdaClientFactory to apply read timeout to NettyNioAsyncHttpClient
Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]
#6257

Check List

[]New functionality includes testing.

[]New functionality has a documentation issue. Please link to it in this PR.
[yes ] New functionality has javadoc added
[ yes] Commits are signed with a real name per the DCO

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.

- Add read_timeout field to ClientOptions with default 60s
- Configure NettyNioAsyncHttpClient with read timeout
- Update README with client configuration examples
- Enables configurable read timeout for Lambda function calls

Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
Copy link
Copy Markdown
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ashrao94 !

@dlvenable dlvenable merged commit d02ead0 into opensearch-project:main Jan 15, 2026
48 of 52 checks passed
san81 pushed a commit to san81/data-prepper that referenced this pull request Jan 27, 2026
…ect#6408)

- Add read_timeout field to ClientOptions with default 60s
- Configure NettyNioAsyncHttpClient with read timeout
- Update README with client configuration examples
- Enables configurable read timeout for Lambda function calls

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
…ect#6408)

- Add read_timeout field to ClientOptions with default 60s
- Configure NettyNioAsyncHttpClient with read timeout
- Update README with client configuration examples
- Enables configurable read timeout for Lambda function calls

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
…ect#6408)

- Add read_timeout field to ClientOptions with default 60s
- Configure NettyNioAsyncHttpClient with read timeout
- Update README with client configuration examples
- Enables configurable read timeout for Lambda function calls

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
…ect#6408)

- Add read_timeout field to ClientOptions with default 60s
- Configure NettyNioAsyncHttpClient with read timeout
- Update README with client configuration examples
- Enables configurable read timeout for Lambda function calls

Signed-off-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
Co-authored-by: Aiswarya Sadananda Rao <aiswarao@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants