/
confluent-kafta

confluent-kafta

confluent-kafta python package can be compiled for windows/arm64 with following steps

Step 1: Install librdkafka

 

git clone https://github.com/Microsoft/vcpkg.git cd vcpkg ./bootstrap-vcpkg.sh ./vcpkg integrate install librdkafka --triplet arm64-windows # confluent-kafta look for librdkafka.lib on windows - but vcpkg uses rdkafka.lib cp .\packages\librdkafka_arm64-windows\lib\rdkafka.lib .\packages\librdkafka_arm64-windows\lib\librdkafka.lib

Step 2: Build conlfuent-kafta package

# add librdkafka path to env. $env:LIB+=";<vcpkg loc>\packages\librdkafka_arm64-windows\lib" $env:INCLUDE+="<vcpkg loc>\packages\librdkafka_arm64-windows\include" python setup.py bdist_wheel

This generates windows/arm64 binary wheel in dist directory.

 

Related content

PyWin32
More like this
CMake
More like this
Python
More like this
Pillow
More like this
CFFI
More like this
Pre-release Python binary wheels and dependencies
Pre-release Python binary wheels and dependencies
More like this