I've got an AWS
Lambda function I've written in Java (well, it's actually written in Clojure) and it appears to get invoked 3 times every time I run it.
My function runs successfully and well within the timeout (which is set to the max of 5 minutes). It returns a string which I can see output when I test the function in the console.
I've seen some stuff online about having to call some Context success / done function but can't see that in the Java SDK (seems to be for Node only?).
Am I missing something?
This does not occur when I click test in the console (it only runs once) but does happen when triggered via a CloudWatch Trigger or running via the AWS SDK.
Thanks,
Donovan
Update: apologies, this does not happen when running via the trigger, only via the SDK and CLI, so perhaps there is some timeout in the call I am making.