-
Notifications
You must be signed in to change notification settings - Fork 625
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
AWS Context is coming as null [message.getHeaders().get(AWSLambdaUtils.AWS_CONTEXT, Context.class)] #1187
Comments
Can you please test it with 4.1.4-SNAPSHOT and see if Context comes in as null? I just added a log (warn). |
I tested it with 4.1.4-SNAPSHOT and also enable |
Can you please provide a reproducible sample as I can not reproduce it and i can see the |
I confirm that with native image Context coms as null. Working on it. . . |
Updated sample to show that Context is not null Resolves #1187
Describe the bug
Version
spring-cloud-function-adapter-aws - 4.1.2
AWS Context is coming as null from header. As mentioned in the document application was expecting context from Message header.
ex:
I found this issue reported but it seems was fixed on 4.0.2 however in 4.1.2 the problem is present. My function run as native image with graalvm 21.0.2
Error Stacktrace:
The text was updated successfully, but these errors were encountered: