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 <[email protected]> wrote: > Hi, > > In spark streaming how to count the total number of message (from Socket) > in one batch? > > Thanks, > Patcharee > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
