not serializable result: org.apache.kafka.clients.consumer.ConsumerRecord
解决方法创建SparkContext时设置一个属性set("spark.serializer","org.apache.spark.serializer.KryoSerializer")Exceptioninthread"main"org.apache.spark.SparkException:Jobabortedduetostagefailure:Task0.0instage54.0(TID60