Skip to end of banner
Go to start of banner

Build confluent-kafta package

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels