Neil,
Take a look at using "tick tuples"
http://nathanmarz.github.io/storm/doc/backtype/storm/Config.html#TOPOLOGY_TICK_TUPLE_FREQ_SECS
and the Storm RDBMS bolt https://github.com/nathanmarz/storm-contrib/tree/master/storm-rdbms
-Roger
From: Neil Carroll [mailto:carroll_neil@hotmail.com]
Sent: Tuesday, April 08, 2014 1:42 PM
To: user@storm.incubator.apache.org
Subject: Can Storm write an Aggregate Record to Postgres or SQL Server?
I'm new to Storm and want to use it to aggregate log data over a 5 minute period and write
aggregate records (for each transaction type) into a DCMS (SQL or Postgres). I believe Storm
can do this - and is there sample code available?
Thanks
Neil
|