merge kafka 0.8 support to master

merge kafka 0.8 support to master