Skip to content

Getting Cast exception KinesisFirehoseEvent$Record #49

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

Closed
mohamedazouz opened this issue May 15, 2018 · 1 comment
Closed

Getting Cast exception KinesisFirehoseEvent$Record #49

mohamedazouz opened this issue May 15, 2018 · 1 comment

Comments

@mohamedazouz
Copy link

Hi,
I'm trying to implement lambda which listening to firehose events to do some transformation, I'm always getting this exception: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to com.amazonaws.services.lambda.runtime.events.KinesisFirehoseEvent$Record

I'm using this example: https://docs.aws.amazon.com/lambda/latest/dg/eventsources.html#eventsources-kinesis-firehose

How can i solve this?

@mohamedazouz
Copy link
Author

I'm sorry was working with Serverless command line which is not supporting this and it solved when i used SAM.

sorry for the noise

dtorok added a commit that referenced this issue Feb 27, 2024
smirnoal pushed a commit that referenced this issue Feb 27, 2024
* Log user init and invoke exceptions as ERROR in JSON format (#49)

* RIC version bump to 2.4.2

---------

Co-authored-by: Daniel Torok <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant