kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec no

得意犹堪夸世俗,诏黄新湿字如鸦。这篇文章主要讲述kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec no相关的知识,希望能为你提供帮助。
mac python3.7消费kafka数据时报错如下:
kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec not found
 
【kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec no】解决方案:
1. brew install snappy
2. pip3 install python-snappy

 


    推荐阅读