refactor: Load IDataStreamFactory(s) with dependency injection
So we can create ViewStreams that depend on other services, config, etc. Previously, the PrimitiveManager relied purely on static construction of types through reflection.
This commit is contained in:
1 parent
7566b2560f
commit
ea0a1fbcd3
59 files changed
+2124
-161
No files matched your search
@@ -19,6 +19,7 @@ public static class DataStreamPublisherServices {
|
||||
.AddPubSubClient(configurationSection.GetSection("PubSub"))
|
||||
.AddPubTableBroker()
|
||||
.AddRemoteQueryManager()
|
||||
.AddPrimitiveStreams(configurationSection.GetSection("PrimitiveStream"))
|
||||
.Configure<DataStreamPublisherConfig>(configurationSection.GetSection("DataStreamPublisher"))
|
||||
.AddHostedService<DataStreamPublisherService>();
|
||||
}
|
||||
Reference in new issue
Block a user