Skip to content

Getting Cast exception KinesisFirehoseEvent$Record #49

Closed
@mohamedazouz

Description

@mohamedazouz

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions