The Microsoft StreamInsight Product Team Samples V2.0
are demonstrating key aspects of the StreamInsight CEP platform. The purpose of the samples is to provide a guide through the StreamInsight development experience, demonstrating common design patterns for adapters, queries, and applications. The emphasis is on the teaching character, not on feature completeness, performance, or robustness. Follow the product team on Twitter
for latest updates.
The samples consist of a set of Visual Studio Solutions, each of which contains at least one input adapter, one output adapter, and one main application. Each adapter is a separate projects and can be included in multiple solutions.
|DataGenerator (IA)||Generates events with random payload values||Event push model (through a callback); simple implementation of the adapter state diagram|
|OutputTracer (OA)||Traces output events on the console or a file||Simple untyped output adapter design; useful for prototyping and testing|
|SimpleTextFileReader (IA)||Reads lines from a csv file and transforms them into events||Simple untyped input adapter|
|SimpleTextFileWriter (OA)||Writes events as lines to a file in csv format||Simple untyped output adapter|
|ComposingQueries||Applies two subsequent queries to data from the DataGenerator and dumps the result on the console||Use dynamic query composition to stream into two output adapters|
|TrafficJoinQuery||Reads and processes traffic data from two text files||Use the explicit query binder model; join two input streams|