https://github.com/lw-lin/CoolplaySpark http://blog.cloudera.com/blog/2015/03/exactly-once-spark-streaming-from-apache-kafka/