Re: Implementing user defined header in Tuple

2015-06-18 Thread Javier Gonzalez
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 < basvdlustgr...@gmail.com> wrote: > Hi Guys, > > I would like to implement the same concept of an event header as Apache > flume us

Implementing user defined header in Tuple

2015-06-16 Thread Bas van de Lustgraaf
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 ke