dstream.count() See: http://spark.apache.org/docs/latest/programming-guide.html#actions
-kr, Gerard. On Tue, Dec 1, 2015 at 6:32 PM, patcharee <patcharee.thong...@uni.no> wrote: > Hi, > > In spark streaming how to count the total number of message (from Socket) > in one batch? > > Thanks, > Patcharee > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >