refactor: Make CompositeDataStreamFactory class internal
This commit is contained in:
1 parent
619be37379
commit
f07d83e7bb
6 files changed
+11
-22
No files matched your search
@@ -47,10 +47,7 @@ public class DataStreamPublisherService : IHostedService, IDisposable {
|
||||
DataStreamPublisherConfig config
|
||||
) {
|
||||
this.pubTableBroker = pubTableBroker;
|
||||
var streamFactoryList = streamFactories.ToList();
|
||||
streamFactory = streamFactoryList.Count == 1
|
||||
? streamFactoryList[0]
|
||||
: new CompositeDataStreamFactory(streamFactoryList);
|
||||
streamFactory = DataStreamFactory.Create(streamFactories);
|
||||
this.workScheduler = workScheduler;
|
||||
this.config = config;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user