Skip to content
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

Developing a version for raspberry pi arm7 #331

Open
flefevre opened this issue May 18, 2018 · 13 comments
Open

Developing a version for raspberry pi arm7 #331

flefevre opened this issue May 18, 2018 · 13 comments
Labels

Comments

@flefevre
Copy link

Will it be possible to have the same work done for raspberry pi?
raspberry pi communauty could be very interested in those development
thanks

@sscaling
Copy link
Collaborator

Hi @flefevre - do you have any specific requirements?

@flefevre
Copy link
Author

flefevre commented May 26, 2018 via email

@sscaling
Copy link
Collaborator

Please feel free to submit a PR if you understand what needs to happen. I don't think we'll have any time in the immediate future to look into this.

I think if we did any work to support docker, it would be by the officially supported raspbian OS (https://get.docker.com/)

@OneCricketeer
Copy link

OneCricketeer commented Aug 19, 2018

it would be by the officially supported raspbian OS

The OS doesn't factor into the CPU architecture, though.

If you rebuild the images from an armhf JRE image (or cross-compile), then it should run fine on a Pi (other than questionable memory requirements)

@alexellis
Copy link

Hi folks, I am also interested in this.

As long as no arbitrary binaries, C++ extensions, or bespoke PPAs are used in the Dockerfile, then adding a Dockerfile.armhf may be enough to get the Kafka broker working. Zookeeper might be similar.

I know that @vielmetti has a good knowledge about what software is working on ARM64 and also has an ear to the ground on armhf.

Alex

@alexellis
Copy link

This looks problematic:

https://github.com/wurstmeister/kafka-docker/blob/master/Dockerfile#L35

Can the wurstmeister distribution of Apache Kafka also run on a regular Debian JRE?

@sscaling
Copy link
Collaborator

sscaling commented Jul 8, 2019

wurstmeister distribution of Apache Kafka

There is no such thing. We just re-package the Apache distribution in a Docker image.

So yes, Apache Kafka can run on Debian JRE, However, we use alpine to reduce total size of image. Currently it looks like the slim Debian build is still ~2x larger

openjdk    8u212-jre-slim                 1d98c8a8ff74        3 weeks ago         168MB
openjdk    8u212-jre-alpine               f7a292bbb70c        8 weeks ago         84.9MB

Of course, adding the glibc library adds some additional space requirements - however, this is technically only needed for SNAPPY compression as far as i'm aware.

@bqstony
Copy link

bqstony commented Aug 5, 2019

@alexellis: do you have any progress on this? i have tryed the forked images from https://github.com/SUMGlobal/rpi-kafka, but run in some unknown errors.

@bqstony
Copy link

bqstony commented Aug 22, 2019

If someone has the same need to run on a raspi, i have modified this repo in my fork and you can build the images on a raspberry. see: https://github.com/bqstony/kafka-docker and here https://github.com/bqstony/zookeeper-docker

@alexellis
Copy link

Not on my side, but with the 4GB RPi, I think Kafka is becoming viable.

Perhaps we can see if the maintainer would accept a patch?

@bqstony
Copy link

bqstony commented Aug 22, 2019

There is a open PR #257 that would this Patch idea made some easyer to implement.

@humb1t
Copy link

humb1t commented Sep 10, 2019

@flefevre sumglobal/rpi-kafka and sumglobal/rpi-zookeeper works on rpi

@NGLSL
Copy link

NGLSL commented Mar 29, 2020

@flefevre sumglobal/rpi-kafka and sumglobal/rpi-zookeeper works on rpi

It can run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants