-
Notifications
You must be signed in to change notification settings - Fork 82
[question] librdkafka is installed as 0.8.6 version. How can I have latest version of it? #487
Comments
Hey @kolinko-ant I don't see librdkafka in the list of debian packages. How are you installing rdkafka? |
Here is the package installer script https://github.com/GoogleCloudPlatform/php-docker/blob/master/package-builder/extensions/rdkafka/build.sh and command is |
I just specified |
Weird. I completely missed it in the docs. Well we're on Ubuntu 16.04 https://github.com/GoogleCloudPlatform/php-docker/blob/master/php-base/Dockerfile So it's likely an older version of the package is only what's available. Probably need to upgrade this entire repo to 18.04 or higher |
@jaitaiwan I've asked the question about this here confluentinc/librdkafka#2488 and the solution is to use Confluent packages https://docs.confluent.io/current/installation/installing_cp/deb-ubuntu.html#systemd-ubuntu-debian-install to get latest version. Is that something that easily can be changed or it will take a lot of time to make this change? |
Yeh that's easily changed BUT it won't make it to GAE unless the team merges the
…_________________________
From: Anton Kolinko <[email protected]>
Sent: Thursday, August 22, 2019 18:02
To: GoogleCloudPlatform/php-docker
Cc: Daniel Holmes; Mention
Subject: Re: [GoogleCloudPlatform/php-docker] [question] librdkafka is installed as 0.8.6 version. How can I have latest version of it? (#487)
@jaitaiwan<https://github.com/jaitaiwan> I've asked the question about this here confluentinc/librdkafka#2488<confluentinc/librdkafka#2488> and the solution is to use Confluent packages https://docs.confluent.io/current/installation/installing_cp/deb-ubuntu.html#systemd-ubuntu-debian-install to get latest version.
Is that something that easily can be changed or it will take a lot of time to make this change?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#487?email_source=notifications&email_token=AAFEXTKFYJPL5YAOK33RVQ3QFZBZRA5CNFSM4IOIRLVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44H6GA#issuecomment-523796248>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAFEXTP6NHSG6WLIRHQEBCTQFZBZRANCNFSM4IOIRLVA>.
|
Sounds promising :). Would be nice to understand the timelines on when it might be merged to upstream? Then I can talk with my stakeholders and explain them for how much time we need to postpone kafka integration. Do you have any expectations when it can be done? Would really appreciate for the information. |
I can't tell you sorry but I've been asking to become a maintainer... I'm the most active Dev on here at the moment. If you have the time I can direct you to another PR that has instructions on how to make the changes and test it. |
Would like to help. Maybe it will push things faster. |
And just for complete understanding. Another way to make it work would be to use custom php runtime and change this docker config as much as we want. But I think it will take a lot of time to duplicate the same runtime and make it work. Cause we already in production. Any other options to have newer version of librdkafka that I don't see? |
@kolinko-ant yeah it would definitely take a long time, but at this point the whole php-docker repo needs a re-write because we probably want to upgrade to ubuntu 18.04 or move to a slimmer debian image and squash all the layers it has so that it's a much smaller image for deployments. No other options I can think of apart from rolling your own .deb file and running a custom docker build like you said. The Pull Request I made to add phalcon support is here: #453 You'll want to check the comments of the PR as the original maintainer gave instructions for how to run/test the updated library. |
I am a bit confused now. If let's say I'll create a PR within 1-2 weeks, then is there a chance that this one gets merged to upstream and I will get it in GAE? Or if it will take a lot of time and you have a plans to upgrade ubuntu to 18.04 (which uses 0.11 version of librdkafka and looks like it's enough for me), maybe then it's not worth to invest time to this PR? |
I have absolutely 0 visibility into how long it takes for things to make it
from this repo into runtime: php. If you do a simple PR for now to upgrade
the version of the lib that is probably the best bet that your change will
be accepted upstream because it's a relatively small change.
…On Thu, 22 Aug 2019 at 21:08, Anton Kolinko ***@***.***> wrote:
I am a bit confused now. If let's say I'll create a PR within 1-2 weeks,
then is there a chance that this one gets merged to upstream and I will get
it in GAE? Or if it will take a lot of time and you have a plans to upgrade
ubuntu to 18.04 (which uses 0.11 version of librdkafka and looks like it's
enough for me), maybe then it's not worth to invest time to this PR?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#487?email_source=notifications&email_token=AAFEXTOAPU747Y6DCEADTUTQFZXR5A5CNFSM4IOIRLVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44XI6Q#issuecomment-523859066>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFEXTKH4VVJBR5TGOO4JZLQFZXR5ANCNFSM4IOIRLVA>
.
|
I use
rdkafka
extension and after installing it I have 0.8.6 version oflibrdkafka
in the system. But the problem is this is old version and I need to have 1.1.0. Is there a way to say to GAE to install latest version oflibrdkafka
library?The text was updated successfully, but these errors were encountered: