1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Are you configured to connect to the msk cluster from Lambda's?
Are security groups, for example, allowed to connect from Lambda?
https://repost.aws/knowledge-center/lambda-trigger-msk-kafka-cluster
Also, is Lambda connected to a private subnet?
Also, is it possible to connect to an external network from a Lambda in a VPC with a NAT Gateway or similar set up?
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
Thank you.
I added the AWSLambdaMSKExecutionRole in the permission for both producer and consumer lambda. I already created these lambdas in the same vpc , used same security groups .
For the consumer , now the msk trigger is at least not throwing "connection" error , the status is showing "ok" . But I do not see it is consuming events and sometimes teh trigger drops the connection and shows error , when I reload it few times the connection is successful again.
For the producer , it still throws 'no broker' error. Any knowledge base to create a producer properly