spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerard Maas <gerard.m...@gmail.com>
Subject Re: spark streaming count msg in batch
Date Tue, 01 Dec 2015 19:35:36 GMT
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.Thongtra@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-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message