You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried to run a Java Lambda that consumes a DynamodbEvent on localstack. My lambda was never called because of
2021-03-25T17:46:47:INFO:localstack.services.awslambda.lambda_api: Error executing Lambda function
arn:aws:lambda:us-east-1:000000000000:function:localstack-issue: Lambda process returned error status code: 1. Result: . Output:
Exception in thread "main" java.lang.NoSuchMethodError: 'void com.amazonaws.services.lambda.runtime.events.DynamodbEvent$DynamodbStreamRecord.setEventName(com.amazonaws.services.dynamodbv2.model.OperationType)'
at cloud.localstack.lambda.DDBEventParser.parse(DDBEventParser.java:24)
at cloud.localstack.LambdaExecutor.main(LambdaExecutor.java:84)
This was probably because my lambda was compiling against com.amazonaws:aws-lambda-java-events:3.7.0 and this project is running with version 2.2.7
This could also be the cause of localstack/localstack#1960
Is there way to make localstack work with lambdas that use aws-lambda-java-events:3.7.0 ?
The text was updated successfully, but these errors were encountered:
Hi! We just wanted to follow up to see whether your issue has been resolved. Were you able to get it working with the latest version of LocalStack? We would appreciate your feedback!
I recently tried to run a Java Lambda that consumes a DynamodbEvent on localstack. My lambda was never called because of
This was probably because my lambda was compiling against com.amazonaws:aws-lambda-java-events:3.7.0 and this project is running with version 2.2.7
This could also be the cause of localstack/localstack#1960
Is there way to make localstack work with lambdas that use aws-lambda-java-events:3.7.0 ?
The text was updated successfully, but these errors were encountered: