newrelic / newrelic-lambda-layers

Source code and utilities to build and publish New Relic's public AWS Lambda layers.
https://newrelic.com/products/serverless-aws-lambda
Apache License 2.0
34 stars 43 forks source link

Support Lambda Response Streaming #149

Open anthonyc4 opened 1 year ago

anthonyc4 commented 1 year ago

Is your feature request related to a problem? Please describe.

AWS has released Response Streaming for Lambda. (https://aws.amazon.com/blogs/compute/introducing-aws-lambda-response-streaming/). When using Response Streaming and the NR Lambda Layer, the parameters passed to the handler when using awslambda.streamifyResponse does not match. This is because they added the responseStream in the middle of the parameters.

Feature Description

I would like NR Lambda Layer to be able to support Response Streaming

Describe Alternatives

Instrument the code manually

KGAdamCook commented 6 months ago

Any update on this?