Cleaning Config 1.0 (not completely done)

This commit is contained in:
Taha Afzal authored and John Colvin committed 2024-09-18 14:02:34 +00:00
1 parent 0496b299dd
commit 6fc1ec4d67
6 files changed
+181 -167

No files matched your search

@@ -38,10 +38,6 @@ public class DataStreamPublisherConfig {
[JsonPropertyName("publishers")]
public List<PublisherNode>? Publishers { get; set; }
[JsonPropertyName("simple_echo_client")]
[Option("simple-echo-client", HelpText = "Run a simple echo client (won't publish tables or connect to sparkd)")]
public bool? SimpleEchoClient { get; set; }
[JsonPropertyName("pubsub")]
public PubSubConfig? PubSub { get; set; }
@@ -54,7 +50,6 @@ public class DataStreamPublisherConfig {
public static DataStreamPublisherConfig Default() =>
new() {
SimpleEchoClient = false,
PubSub = PubSubConfig.Default(),
};
@@ -64,7 +59,6 @@ public class DataStreamPublisherConfig {
Sparkd ??= other.Sparkd;
Publishers ??= other.Publishers;
PubSub ??= other.PubSub;
SimpleEchoClient ??= other.SimpleEchoClient;
ConfigFile ??= other.ConfigFile;
}