参考:http://blog.csdn.net/lizhitao/article/category/2194509/2 kafka官网:http://kafka.apache.org/documentation.html