-
-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add extension rdkafka support #256
Conversation
how can we move further here, we need this extension for our setup ?! |
@mihaileu I can't do anything yet, unless someone can provide a patch for the librdkafka library, or the discussion started above is answered. |
@crazywhalecc Hi, there has been the latest 2.4.0 release of libkafka with a fix for static builds. I don't know if the fix is whole or related but there is. Sorry for not testing myself but I never worked on c projects at all.. (my lack). |
@daddeffe Unfortunately it still failed to build statically on Linux. I think I need to open an issue about it (discussion may not be noticed) |
@daddeffe Thanks for your work! It would be even better if it can be verified to work on Alpine Linux (for testing compatibility with musl-libc). |
@crazywhalecc Is this a success?? Built on alpine, merged main, added just |
@daddeffe |
# Conflicts: # config/source.json
I was able to compile the
wouldn't' this be sufficient for distribution? |
features as follows:
|
# Conflicts: # src/globals/test-extensions.php
@crazywhalecc I would still like your answer so I can move with similar work in https://github.com/karafka/rdkafka-ruby 🙏 |
@mensfeld Seems you are linking shared libraries. static-php is using musl-libc and all other libraries that can be statically linked, I don't know if your goal is to compile a .so or executable file, but if it is the final static compilation, you need to add all the required libxxx.a files. |
Linux support is not available yet: confluentinc/librdkafka#4495