Add sample kafka code