In a Spark Streaming job, is the operation inside foreachRDD supposed to synchronous / blocking?
What if you do some asynchronous operation which returns a Future? Are you then supposed to do Await on that Future?
Note: This question is specifically about Spark Streaming and foreachRDD.