storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipa Duarte" <fdua...@digitalwind.pt>
Subject RE: Storm 1.0.0 Windowing by id
Date Mon, 04 Apr 2016 08:23:58 GMT
Hello,

 

Florin, Arun, thank you for your answers.

I’m afraid streams are not what I am looking for. I do not know in advance which ids I will
have in the system. Imagine this ids as users registered in the system, for example.

 

Arun, by id based grouping do you mean fields grouping? Or do you mean I should do the grouping
myself within the bolt execute method, which will have all tuples of all ids?

 

Thank you!


Filipa

 

From: Arun Iyer [mailto:aiyer@hortonworks.com] On Behalf Of Arun Mahadevan
Sent: 2 de abril de 2016 20:33
To: user@storm.apache.org
Subject: Re: Storm 1.0.0 Windowing by id 

 

Hi Filipa,

 

Yes, you could have a separate stream per id and have a separate windowed bolt subscribe to
the corresponding stream.

 

The other option is to do the id based grouping  within the windowed bolt each time its "execute"
method is triggered with the tuples in the current window.

 

Thanks,

Arun

 

From: Filipa Duarte
Reply-To: "user@storm.apache.org <mailto:user@storm.apache.org> "
Date: Friday, April 1, 2016 at 10:47 PM
To: "user@storm.apache.org <mailto:user@storm.apache.org> "
Subject: Storm 1.0.0 Windowing by id 

 

Hi!

 

With regard to the new windowing features of Storm 1.0.0, is it possible to group the windows
by  id, so that the events coming from different clients are processed by different windows?

Thank you.


Regards,

Filipa

 


Mime
View raw message