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.
Â