Comments (1)
@Jeremy-boo I understand that what you're trying to do is cross compile from an alpine linux amd64 builder, to an arm64 architecture. in this case, during the compilation step, the CC needs to be set to a cross compiler which can cross compile from your builder to your target architecture. This is required for the cgo bits of the library to be compiled.
For example, from glibc amd64 -> glibc arm64, I use CC=aarch64-linux-gnu-gcc GOOS=linux GOARCH=arm64 go build
Please try a cross compiler. I believe you will need aarch64-linux-musl-gcc from aarch64-linux-musl-cross available on the musl website. Similar to this answer.
from confluent-kafka-go.
Related Issues (20)
- Do we really need the `default case` in the consumer for loop
- Can't statically build binary with vendored library on arm64 musl HOT 2
- Multiple schema registry URLs does not seem to be supported
- Serialisation poor performance due to a lack of schema caching HOT 1
- Work with go gin error HOT 5
- Build and run binary return code 137 HOT 3
- What's the difference between `producer.Events()` chan and `deliverChan` HOT 2
- Add error handling for SubscribeTopics function call in consumer_example.go
- High memory usage with the `kafka.consumer`
- Increased memory usage with GetMetadata call
- Feature Request: Support to specify `RecordNameStrategy`
- Subscribed topic not available even though it's already created HOT 6
- Failed to build confluent-kafka-go on arm64 machine. HOT 2
- golang confluent kafka producer client running into error - Failed to create thread: Resource temporarily unavailable (11) HOT 1
- Automatic offset commit led to the loss of some messages HOT 2
- delivery.report.only.error check does not work in case type of the value is not boolean
- Async Producer Panic HOT 1
- Is the producer a tcp keepalive connection
- Signal: bus error when running on macos sonoma 14.4.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confluent-kafka-go.