1.背景
spark structured sql 任务启动报错,这个是在一个开发测试集群上是好的,但是移交到测试集群,测试人员进行测试的时候报错。查看程序,感觉没什么问题。
错误如下
19/08/01 17:36:52 WARN consumer.ConsumerConfig: The configuration max.poll.records = 1 was supplied but isn't a known config.
19/08/01 17:36:52 ERROR streaming.StreamExecution: Query topic_lcc [id = fff32e45-d354-4a4f-af2c-106fa9801bd0, runId = 562ca67e-8acd-40eb-9a92-e88a3ed99266] terminated with error
at org.apache.spark.sql.kafka010.SubscribeStrategy.createConsumer(ConsumerStrategy.scala:63)
at org.apache.spark.sql.kafka010.KafkaOffsetReader.createConsumer(KafkaOffsetReader.scala:314)
at