kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec not found 解决方案
mac python3.7消费kafka数据时报错如下:
kafka.errors.UnsupportedCodecError: UnsupportedCodecError: Libraries for snappy compression codec not found
解决方案:
1. brew install snappy
2. pip3 install python-snappy