-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
AmazonLambdaRecorder.chooseHandlerClass needs to support RequestStreamHandler pattern #6707
Comments
@evanchooly could you have a look at that one? |
I am seeing exactly the same. If it implements RequestHandler it seems to work. According to https://quarkus.io/guides/amazon-lambda#choose-your-lambda only I am building against |
If I follow the application builder to create the AWS Lambda application then ./mvnw compile quarkus:dev I get the following error. In other words it does not work following those steps.
|
+1 |
Can one of you provide a reproducer? |
No need for a producer. I understand the problem. WE don't support stream handler. |
This is a feature request, not a bug. |
Unfortunately, the S3Event object doesn't work with native image . |
Please close, this was added by #7866 |
I'm unable to get the out of the box AWS Lambda test to work if my Lambda uses the RequestStreamHandler implementation pattern. My code:
And my application.properties has
quarkus.lambda.handler=lambdaHandler
. At times it is easier to read the InputStream and parse what you need out of it rather than creating a POJO. As it is I get:Perhaps the
quarkus.lambda.handler
could work like the AWS Lambda environment and accept a full package name with method name, i.e.com.example.lambda.handler.LambdaHander::myHandler
The text was updated successfully, but these errors were encountered: