add kafka input and output.