mac m1 arm 安装 confluent-kafka 报错解决方案
- 安装librdkafka
brew install librdkafka
- 一行命令安装, 注意librdkafka的路径即可(一行命令, 不能拆开, 否则无效)
C_INCLUDE_PATH=/opt/homebrew/Cellar/librdkafka/1.8.0/include LIBRARY_PATH=/opt/homebrew/Cellar/librdkafka/1.8.0/lib pip install confluent_kafka