feat(plugins/aws-lambda): support Lambda response streaming#13176
feat(plugins/aws-lambda): support Lambda response streaming#13176DiscreteTom wants to merge 11 commits intoKong:masterfrom
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]