You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, librdkafka is bullt for the following runtimes: linux-x64, linux-arm64, osx-x64, osx-arm64, win-x64 and win-x86. Since the new Apple Silicon chips use arm64 and Windows 11 on Parallels runs on arm64, .NET 7 applications which use librdkafka and Confluent.Kafka fail with the following exception:
Unhandled exception. System.DllNotFoundException: Failed to load the librdkafka native library.
at Confluent.Kafka.Impl.Librdkafka.TrySetDelegates(List1 nativeMethodCandidateTypes) at Confluent.Kafka.Impl.Librdkafka.LoadLinuxDelegates(String userSpecifiedPath) at Confluent.Kafka.Impl.Librdkafka.Initialize(String userSpecifiedPath) at Confluent.Kafka.Producer2..ctor(ProducerBuilder2 builder) at Confluent.Kafka.ProducerBuilder2.Build()
An issue for this has already been opened from other users which face this problem.
It would be beneficial to have a runtime for arm64 so people using the M1 and newer series Macs can directly use librdkafka on Windows 11 through Parallels instead of running .NET projects which use librdkafka on macOS.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently, librdkafka is bullt for the following runtimes: linux-x64, linux-arm64, osx-x64, osx-arm64, win-x64 and win-x86. Since the new Apple Silicon chips use arm64 and Windows 11 on Parallels runs on arm64, .NET 7 applications which use librdkafka and Confluent.Kafka fail with the following exception:
Unhandled exception. System.DllNotFoundException: Failed to load the librdkafka native library.
at Confluent.Kafka.Impl.Librdkafka.TrySetDelegates(List
1 nativeMethodCandidateTypes) at Confluent.Kafka.Impl.Librdkafka.LoadLinuxDelegates(String userSpecifiedPath) at Confluent.Kafka.Impl.Librdkafka.Initialize(String userSpecifiedPath) at Confluent.Kafka.Producer
2..ctor(ProducerBuilder2 builder) at Confluent.Kafka.ProducerBuilder
2.Build()An issue for this has already been opened from other users which face this problem.
It would be beneficial to have a runtime for arm64 so people using the M1 and newer series Macs can directly use librdkafka on Windows 11 through Parallels instead of running .NET projects which use librdkafka on macOS.
Beta Was this translation helpful? Give feedback.
All reactions