I'm trying to configure my Spark Streaming + Kafka job so it always pulls real-time data. I think setting auto.offset.reset="largest" will do it, but when I try to set that configuration at runtime I get an error:
*spark-submit --class com.autotrader.scalaspark.sbStreaming --master yarn-client --driver-memory 10g --executor-memory 10g --conf auto.offset.reset="largest" sbStreaming-0.0.1-SNAPSHOT-jar-with-dependencies.jar Error: Unrecognized option '--conf'.* How can I configure my job to pull the latest data? -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-Unrecognized-option-conf-trying-to-set-auto-offset-reset-tp19489.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
