2

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.

Mikael Ståldal
  • 374
  • 1
  • 3
  • 11
  • 1
    Possible duplicate of [Using Futures within Spark](http://stackoverflow.com/questions/37478871/using-futures-within-spark) – zero323 Jul 06 '16 at 17:08

0 Answers0