Re: spark streaming count msg in batch

2015-12-01 Thread Gerard Maas
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  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
>
>


spark streaming count msg in batch

2015-12-01 Thread patcharee

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