-
Notifications
You must be signed in to change notification settings - Fork 5.1k
feat(plugins/aws-lambda): support Lambda response streaming #13176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…ration-response` just like Lambda Function URL
|
Here @DiscreteTom is the updated SDK: Kong/lua-resty-aws#119 If you use this newer version of the SDK, you should receive an extra table param back from the AWS execute function You can use this to read each chunk back to the client. Decode of the chunk is still manual, because it is a bit more rework to turn Does this work for your Lambda plugin enhancement so far? |
…ided in the prelude
|
Any update on this PR? |
|
It would be great to have this merged. Currently, we dont have a way to invoke a Lambda function using the response streaming model, and with the increasing adoption of GenAI and chat models, having this capability without needing to create additional components, such as exposing Lambda through the AWS API Gateway, would be incredibly helpful. |
Summary
Make the aws-lambda plugin to support Lambda response streaming.
Checklist
changelog/unreleased/kongorskip-changeloglabel added on PR if changelog is unnecessary. README.mdIssue reference
Fix #[issue number]