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