Skip to content

Conversation

@tillrohrmann
Copy link

Before librdkafka was only built WITH_CURL if the feature curl was enabled. However,
rdkafka also supports curl-static which statically links libcurl. In this case, librdkafka
should also enable the WITH_CURL feature which is a prerequisite for enabling OIDC oauthbearer.

Additionally, this PR bumps librdkafka to 2.12.1 which allows us to configure the ca certificate location for the statically linked curl library via https.ca.location (see also #800 (comment)).

Before librdkafka was only built WITH_CURL if the feature curl was enabled. However,
rdkafka also supports curl-static which statically links libcurl. In this case, librdkafka
should also enable the WITH_CURL feature which is a prerequisite for enabling OIDC oauthbearer.
With librdkafka 2.12.1 we can control via https.ca.location where curl
picks up the ca-certificate when obtaining the OIDC token, for example.
@thalesfragoso
Copy link

You probably also need the changes in bindings.rs, see e.g. #803

I also noticed this curl problem there and I think it might be causing the CI failures.

@tillrohrmann
Copy link
Author

You probably also need the changes in bindings.rs, see e.g. #803

I also noticed this curl problem there and I think it might be causing the CI failures.

Awesome. Are you gonna incorporate the curl-static changes in #803 @thalesfragoso? If yes, then #803 should supersede this PR. Feel free to close this PR if this is the case and I'll wait until #803 is merged.

@thalesfragoso
Copy link

@tillrohrmann I'm neither the author of the PR nor a maintainer, but the curl changes seem to be in the other PR already and CI is running, hopefully it will get it merged soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants