copyed some utils from Apache Kafka, and did some tests
Merge branch 'master' of https://github.com/iBuddha/KAKA.git