librdkafka
librdkafka copied to clipboard
The Apache Kafka C/C++ library
Encountered build errors on linux related to the linker not finding libcurl for some reason. It's fixed now. Fix: Add explicit linking against libcurl in src/CMakeLists.txt Error: ` /home/adrian/repos/spoofy/build/_deps/librdkafka-src/src/rdhttp.c:163: undefined...
``` $ cmake -DCMAKE_INSTALL_PREFIX=$SETUP/librdkafka-1.9.0 -DWITH_SASL=ON -DWITH_SSL=ON -DWITH_CURL=OFF \ -DENABLE_LZ4_EXT=OFF -DRDKAFKA_BUILD_EXAMPLES=ON -DRDKAFKA_BUILD_TESTS=ON .. /usr/bin/c++ -rdynamic examples/CMakeFiles/producer_cpp.dir/producer.cpp.o -o examples/producer_cpp src-cpp/librdkafka++.a src/librdkafka.a -lm /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libssl.so /usr/lib/x86_64-linux-gnu/libcrypto.so -lsasl2 -ldl && : /usr/bin/ld: src/librdkafka.a(rdkafka.c.o): in...
SSLKEYLOGFILE environment variable is standard way of declaring the file to write the TLS session keys. This mechanism is used by major web browsers as well as by cURL and...
misc openssl_engine_example_cpp
producer_cpp rdkafka_consume_batch
Since not add `target_link_libraries` when `WITH_CURL` is ON, there are LNK2019 error as below: ``` cmd.exe /C "cd . && D:\downloads\tools\cmake-3.22.2-windows\cmake-3.22.2-windows-i386\bin\cmake.exe -E vs_link_dll --intdir=src\CMakeFiles\rdkafka.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1432~1.313\bin\Hostx64\x86\link.exe src\CMakeFiles\rdkafka.dir\crc32c.c.obj...
Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ Do NOT create issues for questions, use the discussion forum: https://github.com/edenhill/librdkafka/discussions Description =========== Consumer 1 Partition 1 --> Consumer 2 Partition 2 --> Consumer 3...
Platform: photon https://github.com/vmware/photon/ When compiled with openssl 3.0.0 alpha17, librdkafka does not build: rdkafka_sasl_scram.c: In function 'rd_kafka_sasl_scram_conf_validate': rdkafka_sasl_scram.c:886:44: error: 'SHA1' undeclared (first use in this function) 886 | rk->rk_conf.sasl.scram_H =...
libcurl is used to request the OIDC token endpoint, but libcurl's SSL settings are not configured by librdkafka. Description =========== The `ssl.ca.location` setting in particular is important because the system...
Description =========== The consumer hangs without ever calling `oauth_cb` if, after creating a consumer, one immediately calls `list_topics`. Inserting `poll(0)` seems to fix it. This might be a duplicate of...