I have the following configuration for serverless Lambda which is supposed to be triggered by a Kafka MSK.
Using Serverless 2.72.2
Yet when deploying I get the error event[0] unsupported function event
kafkaConsumer:
role: 'some_arn'
handler: kafkaConsumer.trigger
name: some-kafka-consumer
events:
- msk:
arn: 'kafka_cluster_arn'
topic: 'kafka_topic_name'
Please advise what I'm not configuring properly.