l thread safe queue
>
> }
>
> ***—*
> *From: *Munagala Ramanath <r...@datatorrent.com>
> *To: *us...@apex.apache.org
> *CC: *"dev@apex.apache.org" <dev@apex.apache.org>, Allan De Leon <
> adel...@threatmetrix.c
m Zhu
<t...@threatmetrix.com<mailto:t...@threatmetrix.com>>
Subject: Re: Occasional Out of order tuples when emitting from a thread
Date: 2017-02-21 10:08 (-0800)
List:
us...@apex.apache.org<https://lists.apache.org/list.html?us...@apex.apache.org>
Please note that tuples should not be
Please note that tuples should not be emitted by any thread other than the
main operator thread.
A common pattern is to use a thread-safe queue and have worker threads
enqueue
tuples there; the main operator thread then pulls tuples from the queue and
emits them.
Ram
On Tue, Feb 21, 2017 at