Kafka 0.8.2.2 Producer报错:java.net.ConnectException: Connection timed out: no further information
以下是一个简单的KafkaProducer代码:packagecom.bonc.rdpe.spark.kafka08importjava.io.{BufferedReader,FileReader}importjava.util.Propertiesimportorg.apache.kafka.clients.producer.{Callback,KafkaProducer,ProducerRec