我正在尝试将Spark Streaming设置为读取MQTT源,但当我收到第二条消息时,它会启动一个异常。(Lorg/apache/spark/sql/execution/streaming/Offset;)V
at org.apache.spark.sql.execution.streaming.StreamExecutionat org.apache.spark.sql.execution.streaming.StreamExecution$$anon
INFO:edgetpuvision.streaming.server:Listening on port tcp: 4665,web: 4664,附件: 4666 INFO:edgetpuvision.streaming.server:New INFO:edgetpuvision.streaming.server:New线程完成INFO:edgetpuvision.streaming.server:New Tx线程完成INFO:edgetpuvision.streaming.server活动客户端的IN
published streaming-reconciler_2.10 to /Users/myuser/.ivy2/local/com.mycomp/streaming-reconciler_2.10/0.1.0-SNAPSHOT/poms/streaming-reconciler_2.10.pom
published streaming-reconciler_2.10 to /Users/myuser&
cannot be cast to org.apache.spark.sql.sources.v2.reader.streaming.Offset
at org.apache.spark.sql.execution.streaming.MicroBatchExecution$$anonfun$org$apache$spark$sql$execution$streaming$MicroBatchExecution$$runBatch$1$$anonfun$apply$9.apply(MicroBatchExecution.sc