adding the intial code for kafka