'AWS Lambda with AWS MSK trigger - Role and event source must be in the same account as the cloud function
I'm trying to deploy a Lambda function which is triggered by AWS MSK Kafka. I came across this error - Role and event source must be in the same account as the cloud function.
Does this mean that the AWS MSK and the Lambda must be under the same account ? Isn't there a way to workaround that?
And in case there isn't a workaround:
- will implementing an in-code Kafka consumer work?
- what's the recommended way to trigger it? cron expression perhaps? as I won't be aware if new messages arrived to the topic.
Thanks in advance.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
