I think you can. Give it a try and see.

Thanks
Best Regards

On Tue, Aug 4, 2015 at 7:02 AM, swetha <[email protected]> wrote:

> Hi,
>
> Can I use multiple UpdateStateByKey Functions in the Streaming job? Suppose
> I need to maintain the state of the user session in the form of a Json and
> counts of various other metrics which has different keys ? Can I use
> multiple updateStateByKey functions to maintain the state for different
> keys
> with different return values?
>
> Thanks,
> Swetha
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/Multiple-UpdateStateByKey-Functions-in-the-same-job-tp24119.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to