If you are looking for versatility in flexibility. I would go with Stream Analytics, if you need specific operations that are limited by Stream Analytics, it's worth looking at Spark, which gives you options for saving data. On the output side of Stream Analytics, one interesting thing is to bring it to the event hub and destroy it from there, giving you unlimited flexibility regarding how you want to use the data.
Below are the output options for Stream Analytics and the link for Apache Spark on Azure
Hope this helps.

source share