splunk / splunk-sdk-csharp-pcl

Splunk's next generation C# SDK
https://dev.splunk.com/enterprise/docs/csharp
Apache License 2.0
64 stars 46 forks source link

Issue in Search with Push model #86

Closed mohsenvafa closed 1 year ago

mohsenvafa commented 5 years ago

In Search with Push Model, when you subscribe to the stream, the onNext is never called unless you iterate over all the result. https://github.com/splunk/splunk-sdk-csharp-pcl/blob/25381ab45877dcb0e26cac22d55d30ff3ffb1c3b/examples/normal-search/Program.cs#L77

That means if you comment out lines 56-59, the observable stream will never be executed https://github.com/splunk/splunk-sdk-csharp-pcl/blob/25381ab45877dcb0e26cac22d55d30ff3ffb1c3b/examples/normal-search/Program.cs#L56-L59

ncanumalla-splunk commented 1 year ago

This SDK is deprecated and no longer under active development.