question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for Apple M1 silicon

See original GitHub issue

Description

The library doesn’t support the Apple M1 silicon (ARM64).

The .NET version is 6.0.100-rc.2.21505.57 which already supports this architecture.

The exception call stack is:

System.DllNotFoundException: Failed to load the librdkafka native library.
   at Confluent.Kafka.Impl.Librdkafka.TrySetDelegates(List`1 nativeMethodCandidateTypes)
   at Confluent.Kafka.Impl.Librdkafka.LoadOSXDelegates(String userSpecifiedPath)
   at Confluent.Kafka.Impl.Librdkafka.Initialize(String userSpecifiedPath)
   at Confluent.Kafka.Producer`2..ctor(ProducerBuilder`2 builder)
   at Confluent.Kafka.ProducerBuilder`2.Build()

Maybe related to https://github.com/edenhill/librdkafka/issues/3546

How to reproduce

  1. Create a .NET 6 RC project and install the Confluent.Kafka package (1.8.2) in a Mac with M1 silicon
  2. Create a producer instance via ProducerBuilder
  3. Run the solution

Checklist

Please provide the following information:

  • Confluent.Kafka nuget version: 1.8.2
  • Operating system. image

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:16
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

22reactions
Minorsonekcommented, Feb 6, 2022

Any ETA for arm/M1 build? It’s already half of Q1, is it going to happen or is it delayed?

7reactions
edenhillcommented, Dec 6, 2021

We’re looking to add M1 builds during Q1.

Den mån 6 dec. 2021 kl 15:14 skrev Matt Howlett @.***>:

@edenhill https://github.com/edenhill - any plans on this for librdkafka.redist?

I think what we ideally want is a way for you to add a candidate librdkafka binary to the set included in librdkafka.redist simply by referencing an additional nuget package. Then we, or anyone, could make and distribute librdkafka nuget packages for any platform. I think this might not have been feasible in the past, but it might be worth looking into this again.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/confluentinc/confluent-kafka-dotnet/issues/1707#issuecomment-986814972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEAFPSTUI4CQFRRIULRM7DUPTAOHANCNFSM5GKBKT4Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac computers with Apple silicon
Mac computers with Apple silicon · MacBook Pro introduced in 2021 or later, plus MacBook Pro (13-inch, M1, 2020) · MacBook Air introduced...
Read more >
Is Apple Silicon ready?
The Complete Guide to MacOS Apps Optimized for Apple Silicon Macs and the M1/M2 Processors.
Read more >
Product Compatibility for Apple M1 Silicon Macs, Updated ...
ScopeBox 4.1 supports m1 Macs for all sources that have updated their driver support. This includes support for Blackmagic Design devices; UVC ...
Read more >
Apple M1
At the time of introduction in 2020, Apple said that the M1 had the world's fastest CPU core "in low power silicon" and...
Read more >
Support for Apple Silicon Macs - everything you need to know
With the introduction of the first Macs with M1 processors in late 2020, Apple has started the transition from Intel x86-64 processors to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found