Skip to content

Conversation

@henderkes
Copy link
Collaborator

What does this PR do?

closes #954

@henderkes henderkes marked this pull request as ready for review November 3, 2025 19:29
@crazywhalecc
Copy link
Owner

crazywhalecc commented Nov 4, 2025

Looks like we don't need to patch or pass redundant variables to librdkafka if we use cmake build. I'll push cmake version later. And btw I added some helper function in SPCConfigUtil to make it more convenient to use.

@crazywhalecc
Copy link
Owner

Feel free to merge if it is good.

@crazywhalecc crazywhalecc added the mixed PR This PR contains multiple updates label Nov 4, 2025
@crazywhalecc crazywhalecc changed the title add extra features to librdkafka (curl, ssl, sasl Use cmake to build librdkafka, add helper function for SPCConfigUtil Nov 4, 2025
protected function build(): void
{
UnixAutoconfExecutor::create($this)
->appendEnv(['CFLAGS' => '-Wno-int-conversion -Wno-unused-but-set-variable -Wno-unused-variable'])
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please test with zig and clang on linux, both failed witho -Wno-int-conversion last time

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested with native-native-musl and native-native-gnu.2.17 target. It works well.

@henderkes henderkes merged commit 7402fbf into main Nov 4, 2025
10 of 12 checks passed
@henderkes henderkes deleted the feat/rdkafka-ssl branch November 4, 2025 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mixed PR This PR contains multiple updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RdKafka] OpenSSL not available at build time

3 participants