Dependency issue with clients/cloud/csharp on Mac

Open Beginner friendly
#1,256 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
csharp
Domain
cloud

Research direction

Start in clients/cloud/csharp and locate the project file that declares the Confluent.Kafka dependency. Check the current version against the reported 1.9.2 resolution, update the dependency if needed, and run the client on macOS to confirm librdkafka loads successfully.

Written by the indexing model from the issue text.

Description

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: https://github.com/confluentinc/confluent-kafka-dotnet/issues/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
Dominant language
Java
Stars
2.1k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from confluentinc/examples

All issues in confluentinc/examples

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.