Pavel Tupitsyn created IGNITE-6541: -------------------------------------- Summary: .NET: Refactor DataStreamer configuration Key: IGNITE-6541 URL: https://issues.apache.org/jira/browse/IGNITE-6541 Project: Ignite Issue Type: Improvement Components: platforms Reporter: Pavel Tupitsyn
Current DataStreamer configuration works like this: {code} using (var streamer = ignite.GetDataStreamer<int, int>("myCache")) { streamer.AllowOverwrite = true; streamer.SkipStore = false; // etc } {code} All configuration {{IDataStreamer}} properties have "Setter must be called before any add/remove operation" comment on them. This is quite strange and not consistent with other APIs. Change to this: {code} var cfg = new DataStreamerConfiguration { AllowOverwrite = true, SkipStore = false, // etc }; using (var streamer = ignite.GetDataStreamer<int, int>("myCache", cfg)) { // stream data } {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)