-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add images for ARM 64 #80
Comments
Please find the logs... broker image is not compatible with ARM |
Please! |
This would help a lot! |
Note that
Files: |
There is currently no Confluent Platform ARM support - So solutions will have to be through the community until that support is rolled out. In leu of duplicating the same ask, lets re-direct +1s to confluentinc/common-docker#117 as a feature request for ARM support (Since things should start at the base images). |
This version of zookeper does not throw qemu panics on Apple's M1. See issue: confluentinc/kafka-images#80 (comment)
The current zookeeper image we use fails to execute on Apple's arm64 machines (see [issue][1]) for details). Only upgrading the version of both when executing on Apple arm64 machines. Fixes #28570. [1]: confluentinc/kafka-images#80 (comment)
The current zookeeper image we use fails to execute on Apple's arm64 machines (see [issue][1]) for details). Only upgrading the version of both when executing on Apple arm64 machines. Fixes #28570. [1]: confluentinc/kafka-images#80 (comment)
…29084) The current zookeeper image fails to execute on Apple's arm64 machines (see [issue][1]) for details). This change only upgrades the version when executing on Apple arm64 machines. Fixes #28570. [1]: confluentinc/kafka-images#80 (comment)
@mispon, @andrewegel can you clarify what is the solution? My understanding is that there are not arm64 images yet, as mention here confluentinc/common-docker#117 and there are no images on docker hub but I am wondering why this issue is closed, thanks. |
@hurtadosanti, as I understood, adding arm support is a hard task and in hold status now, so you can look for other kafka images on the docker hub that support it |
It doesn't make sense to have multiple open issues for the same thing - If you follow the issue chain, you'll arrive at confluentinc/common-docker#117 which is the base image for all cp-docker images which is open. that is the issue to track for ARM64 images with CP. |
I found a solution to build the Kafka image for other CPU architectures, such as ARM64 CPUs. https://nxt.engineering/blog/kafka-docker-image |
Thanks for sharing @gerbermichi . Before I dive in you'll have to excuse the skepticism. If it was this straightforward for images to be created for ARM64 architectures, is there any reason why confluent haven't done it yet? I was under the impression they had to make significant changes to the source in order to get it to work for ARM64. |
I understand your skepticism. I also thought at first that it can't be that "simple", however the Docker images run smoothly on my M1. |
That sounds quite promising indeed. A developer should not aim for resilience or production-support levels on their own environment or laptop as long as it remains functional and almost close to x64 counterparts. As long as your code gets compiled and tested in an x86 environment I think this is quite appropriate to fill the current gap |
You probably don't use kafka streams.These use native code (RocksDB) and last time I checked this had not been integrated into kafka in an m1 version |
Its not the best solution, but maybe i can help somebody with too many headaches. You can run the docker build command with the flag --platform and maybe its works. It works for me :)
|
Thats for Up-heaving that build framework back to the way we were doing things in cp-docker-images would undo two years of work/progress to get docker builds into this format. At Confluent we have our reasons for choosing this process through the maven plugin, rather than direct Please remain patient folks - The solution presented in https://nxt.engineering/blog/kafka-docker-image is the route that we're taking, and is what I've been mentioning as a work around for a while now. |
Just in case someone is looking confluent images that actually works on mac M1, I have recompiled them based on https://nxt.engineering/blog/kafka-docker-image and pushed it to docker hub. Use at your own risk. Enjoy! |
I have an open source project where I am recompiling and creating arm64 compatible images for open source projects. I have covered a lot of confluent related projects https://github.com/arm64-compat/confluent-platform The images are provided in 2 flavours:
So one need not change it for local setup. Popular images are provided and will be helpful to everyone till confluent comes up with official release: etc. I have tested these images on my M1 mac and they are working just fine, but can't guarantee for production use case, so use only for local development. |
@anuragagarwal561994 Thank you so much for this. We're in the process of moving our entire engineering staff over to M1 macs (about halfway there, and all new hires get M1s) and these images are substantially faster than the images provided by Confluent (which have to be emulated). |
Thanks @justinrmiller happy to help :) |
Really need this as M1 macs are becoming the norm. |
Hi folks, Confluent has released Docker images for For example, here's how to pull the latest CP Kafka image:
|
The new Apple M1 machines are rolling out. Fast, silent and cool.
Your images do not work on them, a build for ARM 64 would be very use full.
The text was updated successfully, but these errors were encountered: