First thing that comes to mind is: pass a Map as one of the Values within your tuple. Name it "header". Done.
On Tue, Jun 16, 2015 at 10:01 AM, Bas van de Lustgraaf < [email protected]> wrote: > Hi Guys, > > I would like to implement the same concept of an event header as Apache > flume uses. But than for Tuples within Storm. > > The header should store a key/value array of user defined fields and > values. Within every Bolt it should be easy to extract the header or > specific fields and add extra key/value pairs to the header. > > What is the best way to implement this? > > I'm quite new to Storm development, some guidance, tips and tricks will > help! > > Thank you! > > Regards, > > Bas > -- Javier González Nicolini
