You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by "m@xi" <ma...@gmail.com> on 2018/03/12 09:17:55 UTC

Re: Share state across operators

Hey Flinker!

Anyone? Anybody? Someone with experience or any idea on the question above?

Best,
Max



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: Share state across operators

Posted by "m@xi" <ma...@gmail.com>.
Thank a lot Timo!

Best,
Max



--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: Share state across operators

Posted by Timo Walther <tw...@apache.org>.
Hi Max,

I would go with the Either<A, B> approach if you want to ensure that the 
initital state and the first element arrive in the right order. 
Performance-wise there should not be a big different between both 
approaches. The side outputs are more meant for have a side channel 
beside the main stream that is not keyed anymore (e.g. for late elements 
that need a special treatment next to the main processing).

Regards,
Timo

Am 12.03.18 um 10:17 schrieb m@xi:
> Hey Flinker!
>
> Anyone? Anybody? Someone with experience or any idea on the question above?
>
> Best,
> Max
>
>
>
> --
> Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/