Nginx-kafka插件安装
#yum install -y git
安装到unix资源共享文件夹/usr下,由于是源代码需要编译所以继续安装在/src下,若是安装在root下,只有root能使用其他用户用不了
#cd /usr/local/src
#git clone https://github.com/edenhill/librdkafka
#cd librdkafka
#./configure
#make
#sudo make install
编译
#git clone https://github.com/brg-liuwei/ngx_kafka_module
#/usr/local/src/nginx-1.16.1
#./configure --add-module=/usr/local/src/ngx_kafka_module
#make && make install
找不到kafka.so.1的错误
//加载so库
//开机加载/usr/local/lib下面的库
#echo “/usr/local/li