To help you hit the ground running with Stream Analytics, we have published some sample code for two real world stream processing scenarios. Both samples include code to generate events and push them to Event Hub, as well as some sample ASA queries to get you started.
Security Badge Scan Sample:
This sample generates a stream of employee badge scan events for a facilities management and fraud detection scenario. You can use the link below to read the wiki and download the code:
Twitter Sentiment Analysis Sample:
This sample performs sentiment analysis over Twitter data in near real time. You will have to set up a twitter account and configure the app.config with your credentials. It uses Twitter api to stream tweets in real-time.
– Stream Analytics Team