ClassNotFoundException when forwarding events from S3 to Elastic Cloud

Hi,

I’ve been pulling my hair over this issue however unable to solve it

I am following the Cloudflare’s official documentation, linked [here]

I have added the function to lambda and provided the relevant role. However, while testing the code, I am getting the following error:

{ "errorMessage": "Class not found: com.cloudflare.elastic.ElasticLambdaForwarder", "errorType": "java.lang.ClassNotFoundException" }

I dont know if this is something that is frequent or not

The runtime im using is Java 8 on Amazon Linux 2. I have tried it with AL1 and Java 11 Corretto as well but the same error as there

I am using the following as my handler: com.cloudflare.elastic.ElasticLambdaForwarder::handleRequest

Further, the release Im working with is as follows:

I have been searching for quite a few days and unable to find any solution as of yet :frowning:

A post was merged into an existing topic: ClassNotFoundException when forwarding events from S3 to Elastic Cloud