emit means you want to pass message to the next bolt. You are right you write 
data to S3, the whole streaming progress completes.

????????iPhone

------------------ ???????? ------------------
??????: Kashyap Mhaisekar <[email protected]>
????????: 2016??1??18?? 02:53
??????: user <[email protected]>
????: Re: Do I need to call emit() in Bolt all the time?




No. If there is no need to send it to other bolts, no need to emit
 On Jan 17, 2016 12:29 PM, "Noppanit Charassinvichai" <[email protected]> 
wrote:
I've just started using Apache Storm. I saw a lot of examples that call


`emit()` in Bolt. I understand that calling `emit()` in Spout means that the 
spout will send the data to the next bolt or bolts. 


However, would that be the same case for emitting in Bolts? If my bolt is to 
just write the data to S3 as log and there's nothing after the bolt. Do I need 
to call `emit()` again?

Reply via email to