But I need to be able to chain multiple streams with different type of records and need to be able to emit multiple streams from a single bolt. I am not sure if the same can be done as easily with trident. Are there examples of chaining and branching tridents out there?
thanks Clay On Mon, Nov 3, 2014 at 5:45 AM, Andrew Xor <[email protected]> wrote: > Hi, > > I think you should take a look at Trident API here > <http://storm.incubator.apache.org/documentation/Trident-API-Overview.html> > if you want an easy way to process tuples in batches... let me know if this > is what you are looking for. > > Cheers. > > Kindly yours, > > Andrew Grammenos > > -- PGP PKey -- > <https://www.dropbox.com/s/2kcxe59zsi9nrdt/pgpsig.txt> > https://www.dropbox.com/s/ei2nqsen641daei/pgpsig.txt > > On Mon, Nov 3, 2014 at 1:42 PM, clay teahouse <[email protected]> > wrote: > >> Hello All, >> Is it possible emit batches of tuples, as opposed to one tuple at a time? >> In other word, is it possible to batch the tuples before emitting them? An >> application for batching the tuples is for example for writing the tuples >> to a tcp socket but not wanting to do a flush after each tuple is written >> to the socket. Everything runs locally. >> Sorry if the answer is obvious. >> >> thanks, >> Clay >> >> >
