-
Notifications
You must be signed in to change notification settings - Fork 336
feat: Update bindings to 2.12.1 #803
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
base: master
Are you sure you want to change the base?
Conversation
Mainly want to see an update to to the reconnection issue on 2.10. Changes the test kafka to bitnamilegacy/kafka as all images were moved here. Seems to be a risk that these images will also be removed at some point so finding another source for running kafka for testing would be good. Closes fede1024#789
|
Any idea on what's wrong with CI? I see a cmake command close to the failure with |
|
I don't believe it is running with curl-static? |
|
@Marwes I think the CI is from |
|
The apt install fixed the version |
|
Looking at the cmake command in the CI we have: LC_ALL="C" "cmake" "/home/runner/work/rust-rdkafka/rust-rdkafka/rdkafka-sys/librdkafka" "-DRDKAFKA_BUILD_STATIC=1" "-DRDKAFKA_BUILD_TESTS=0" "-DRDKAFKA_BUILD_EXAMPLES=0" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" "-DWITH_ZLIB=1" "-DWITH_CURL=0" "-DWITH_SSL=1" "-DWITH_SASL_SCRAM=1" "-DWITH_SASL_OAUTHBEARER=1" "-DWITH_SASL=1" "-DWITH_ZSTD=1" "-DENABLE_LZ4_EXT=0" "-DCMAKE_INSTALL_PREFIX=/home/runner/work/rust-rdkafka/rust-rdkafka/target/debug/build/rdkafka-sys-ebb484974c2b2f31/out" "-DCMAKE_C_FLAGS= -I/home/runner/work/rust-rdkafka/rust-rdkafka/target/debug/build/sasl2-sys-b9d3f63562930dce/out/install/include -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -I/home/runner/work/rust-rdkafka/rust-rdkafka/target/debug/build/sasl2-sys-b9d3f63562930dce/out/install/include -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=Debug" We can see that it included the paths for sasl but not curl, and it has rust-rdkafka/rdkafka-sys/build.rs Lines 243 to 265 in a02310b
It shouldn't though, due to the feature being enable. However, librdkafka shouldn't try to build curl with My guess is that that code in Can you try also enabling the - if env::var("CARGO_FEATURE_CURL").is_ok() {
+ if env::var("CARGO_FEATURE_CURL").is_ok() || env::var("CARGO_FEATURE_CURL_STATIC").is_ok() { |
|
Oh, the regression is probably due to the new OAUTHBEARER OIDC feature: I wonder if it's enabled by default... |
Mainly want to see an update to to the re-connection issue on 2.10. Changes the test kafka to bitnamilegacy/kafka as all images were moved
here. Seems to be a risk that these images will also be removed at some point so finding another source for running kafka for testing would be good.
Closes #789