trans input from file to kafka