I think DStream.transform is the one that you are looking for. Thanks Best Regards
On Mon, Apr 20, 2015 at 9:42 PM, Evo Eftimov <evo.efti...@isecc.com> wrote: > Is the only way to implement a custom partitioning of DStream via the > foreach > approach so to gain access to the actual RDDs comprising the DSTReam and > hence their paritionBy method > > DSTReam has only a "repartition" method accepting only the number of > partitions, BUT not the method of partitioning > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/Custom-paritioning-of-DSTream-tp22574.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@spark.apache.org > For additional commands, e-mail: user-h...@spark.apache.org > >