Skip to content

Streaming Lambda response support in the OSI (Data Prepper) Lambda processorΒ #5973

Closed

Description

@mananrajotia

Is your feature request related to a problem? Please describe.
Currently, the Lambda processor in OpenSearch Ingestion (OSI) uses the standard AWS Lambda invoke function and waits for the full synchronous response. This approach restricts lambda functions to only respond with non-streaming payloads. As a result, any function that performs heavy computation or needs to progressively return data (due to large payload handling and lambda restricting the synchronous response to 6MB) is constrained by payload size. It would be very helpful to support streaming Lambda responses to allow larger response payloads to be returned and ingested into OpenSearch.

Describe the solution you'd like
Enable the Lambda processor in OSI to support streaming responses by using the InvokeWithResponseStream API or Lambda Function URLs, allowing incremental processing of data returned by the Lambda function. Add a configuration flag (e.g., streaming: true) to opt into this behavior.

Describe alternatives you've considered (Optional)
Considered preprocessing data outside OSI to not run into lambda response payload limitations, but that adds latency, complexity, and defeats the purpose of inline, real-time processing.

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. dlvenable commented on Aug 12, 2025

    @dlvenable
    Member
  2. added
    enhancementNew feature or request
    plugin - processorA plugin to manipulate data in the data prepper pipeline.
    and removed on Aug 12, 2025
  3. dlvenable commented on Aug 12, 2025

    @dlvenable
    Member

    @mananrajotia , Would you be interested in contributing toward this feature?

  4. mananrajotia commented on Aug 13, 2025

    @mananrajotia
    ContributorAuthor

    Hey @dlvenable - Yes, I'd love to contribute towards this feature and infact have already started working on it.

  5. mananrajotia commented on Nov 17, 2025

    @mananrajotia
    ContributorAuthor

    Pull request raised - #6273, can someone from the team please review it @dlvenable @graytaylor0 @oeyh. Thanks in advance!

    Documentation issue created - opensearch-project/documentation-website#11556

  6. added this to the v2.14 milestone on Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is neededplugin - processorA plugin to manipulate data in the data prepper pipeline.

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions