Delayed Sink Creation in StreamInsight Server

48 Views Asked by At

I have queries with WCF enabled sources and sinks and using StreamInsight embedded in my project. It creates source when i am running my query. It is OK but it will not create sink until some data tuples come into source (and make it through to sink). Thus, my clients cannot connect to sink (via WCF) before input data come to my query. How can i solve this problem?!

1

There are 1 best solutions below

0
Mohammad On

I solved the problem. It is because of the Lazy Initialization. You should create separate WCF services and some sinks which send their tuples to preregistered wcf ports.