azure-functions-kafka-extension icon indicating copy to clipboard operation
azure-functions-kafka-extension copied to clipboard

Azure Functions - librdkafka error (Apple M2 Pro)

Open PTLozano opened this issue 2 years ago • 0 comments

Hi,

I'm dealing with an error when I'm using KafkaTrigger to listing a topic and record into a MongoDB, it work as expected running in a Windows machine but when I run in my MacBook Pro M2 Pro it throws a error with a message about librdkafka (image below). Captura de Tela 2023-02-22 às 12 05 58

I've done some research and found out that some files should be in bin folder but it's not when is using macosx version. Captura de Tela 2023-02-22 às 12 09 18

When I add those files and set the properties as Content and to copy to output directory as Always, it runs! Captura de Tela 2023-02-22 às 12 11 37

I've tried using the .Net version 6 and 7 also installed some packages (librdkafka and zstd) with brew and the problem persists.

The Microsoft.Azure.WebJobs.Extensions.Kafka version I'm using is the 3.8.0.

PTLozano avatar Feb 22 '23 15:02 PTLozano