read from kafka and write to hadoop