Avoid mutating the object if you keep a reference to it within an operator.
On Wed, Mar 13, 2019 at 11:51 PM yinhua.dai <yinhua.2...@outlook.com> wrote: > Hi Community, > > I saw from the document that we need to be careful about enable the object > reuse feature. > So which part should I check to avoid any issues? Can any one help to > summarize? > Thank you. > > ////// > *enableObjectReuse() / disableObjectReuse()* By default, objects are not > reused in Flink. Enabling the object reuse mode will instruct the runtime > to > reuse user objects for better performance. Keep in mind that this can lead > to bugs when the user-code function of an operation is not aware of this > behavior. > > > > -- > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ >