Let's say I'm ingesting real-time data and want the end users who are viewing the data in real time to be able to group the information in different ways and quickly get views that represent the new groupings.
So if the data was for example, all the transactions on an e-commerce web site, and the user was viewing a live grid(e.g. in a Kibana-like website, with live data delivered via websocket) of transactions and wanted to group by country and view the top 10 countries by notional price of their transactions, the UI would send that command down to the servers and the servers would do all the necessary calculations to feed the user the aggregated notionals of the top countries, and constantly update that stream as new data was processed.
I know there are frameworks (e.g. Flink,Storm, Kafka Streams) that let you define such calculations in code, but is there any framework that lets the user pick different aggregations and set those up in real-time?