confluentinc/examples

Dependency issue with clients/cloud/csharp on Mac

AnnaTurnerConfluent opened this issue · 0 comments

Description
Running this client was not possible on macosx due to the following error:
Unhandled exception. System.DllNotFoundException: Failed to load the librdkafka native library.
This occurs even after brew install librdkafka

Troubleshooting
Related issues: confluentinc/confluent-kafka-dotnet#1005
Seems Confluent.Kafka 1.8.2 has a dependency which is not included.
Installing with brew did not resolve this.

Bumping the version of Confluent.Kafka to 1.9.2 resolved this issue.

Environment

  • GitHub branch: 7.5.2-post
  • Operating System: MacOS 14.5 (23F79)
  • Version of Docker: N/A
  • Version of Docker Compose: N/A