confluent-kafka-go icon indicating copy to clipboard operation
confluent-kafka-go copied to clipboard

Compiled with alpine but none of AWS lambda runtime seems to be supporting alpine.

Open Venkat2382 opened this issue 2 years ago • 3 comments

We have go code that uses confluent kakfa library. We compiled our code with golang1.17.5 alpine image and pushed to aws lambda via Sam build. Also tried with regular golang image. With both these the lambda invocation fails. This is happening only to this code that is using this library. Any thoughts or suggestions?. TIA!!!

Venkat2382 avatar Mar 25 '22 23:03 Venkat2382

Can you please try this way: https://github.com/confluentinc/confluent-kafka-go/issues/735#issuecomment-1029128523

jliunyu avatar Mar 28 '22 21:03 jliunyu

Hey @Venkat2382, were you able to make it work?

utkarsh-mt avatar Sep 06 '22 09:09 utkarsh-mt

@utkarsh-mt it was working when you make it a docker container and deploy it as image. But I faced some issues in handling it in cicd for automated deployments. So switched to python for now. This supports native lambda and SAM cli build and deploy.

Venkat2382 avatar Sep 06 '22 10:09 Venkat2382