pyinotify安装
git clone https://github.com/seb-m/pyinotify.git
cd pyinotify/
python setup.py install

安装python的redis客户端
yum install python-redis

安装kafka客户端
git clone https://github.com/dpkp/kafka-python
python setup.py install

 

如果代码是import KafkaClient

git clone https://github.com/Parsely/pykafka.git

python setup.py develop
posted on 2016-06-02 10:44  凌度  阅读(707)  评论(0编辑  收藏  举报