-
Notifications
You must be signed in to change notification settings - Fork 393
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
Unable to run rdkafka with Alpine (node:6 and node:8) #361
Comments
alpine has a lightweight version of glibc that causes a lot of problems with threading. I believe you need a full featured glibc in order to get it to work. I am going to try to make an alpine base image since it is so commonly requested that solves these issues. |
Thanks @webmakersteve, I hope that you'll be our Kafka savior. :) |
Can you try installing from master and tell me if it works? I made changes to the way the library builds librdkafka that may fix all the alpine problems. |
https://github.com/Blizzard/node-rdkafka/blob/master/examples/docker-alpine.md I was finally able to get it run with the new build like the documentation suggests! Hopefully this is the end of the alpine problems ;) |
@webmakersteve Unfortunately I still get the following when using the above as a base image.
Tested with v2.0.0 and 2.3.0. |
Sorry - can you try 2.3.1? I was able to successfully run this code using the alpine image listed above:
|
Now works with the example Dockerfile and v2.3.2. |
We are using the following as a base image:
We then use this base image in the following Dockerfile:
When the built image is then attempting to start, we get the following error in the log:
Has anyone encountered this issue with rdkafka and Alpine and knows of a workaround or solution?
The text was updated successfully, but these errors were encountered: