thanks Nathan Leung, I merged the two bolts into single bolt and it is
working fine.
On Tue, Feb 2, 2016 at 5:37 PM, Nathan Leung wrote:
> Why can't you emit the data from the spout in the tuple to the second
> bolt? Your current strategy has very small chances of success when you
> scale to mor
Why can't you emit the data from the spout in the tuple to the second bolt?
Your current strategy has very small chances of success when you scale to
more than one machine (you would have to very carefully craft the topology
to accomplish this), and sleeping to ensure data synchronization will lead
thanks for your response.
But i am taking input from the spout itself and the two bolts contains
different logic so i cannot emit tuple from the first bolt.
On Mon, Feb 1, 2016 at 11:17 PM, Nathan Leung wrote:
> You should wire the bolts one after the other, and the first will emit the
> tuple t
You should wire the bolts one after the other, and the first will emit the
tuple to the second only when it has to. Don't use sleep, that's probably
not correct anyways.
On Jan 31, 2016 11:22 PM, "sujitha chinnu"
wrote:
> hai.,
> My requirement is to first execute one bolt and upon succe
hai.,
My requirement is to first execute one bolt and upon successful
execution only next bolt have to execute and i am giving the input for the
bolts from same spout.For that for second bolt i am using Thread.sleep()
method, its working fine but have performance issues.Can anyone help me