Are you asking for something more than this? http://spark.apache.org/docs/latest/streaming-programming-guide.html#caching--persistence
On Thu, Aug 20, 2015 at 2:09 PM, Deepesh Maheshwari < deepesh.maheshwar...@gmail.com> wrote: > Hi, > > there are function available tp cache() or persist() RDD in memory but i > am reading data from kafka in form of DStream and applying operation it and > i want to persist that DStream in memory for further. > > Please suggest method how i can persist DStream in memory. > > Regards, > Deepesh >