111 lines
2.8 KiB
JSON
111 lines
2.8 KiB
JSON
{
|
|
"Spark": {
|
|
"ConfigServer": "http://localhost:8000/config"
|
|
},
|
|
"SparkdCredentials": {
|
|
"User": "bts",
|
|
"Password": ""
|
|
},
|
|
"MasterWorker": {
|
|
"Interval": "00:00:01"
|
|
},
|
|
"Publisher": {
|
|
"Publishers": [
|
|
{
|
|
"Name": "test_data",
|
|
"Streams": [
|
|
{
|
|
"Name": "seconds_1_10",
|
|
"Expression": "second(1,10)",
|
|
"IsOnWebsocket": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"PubSub": {
|
|
"MillisecondsBetweenSubInfoUpdates": 1000,
|
|
"MillisecondsBetweenTimeSliceUpdates": 5000,
|
|
"MillisecondsBetweenNoBufferSpaceRetries": 100,
|
|
"RetriesOnNoBufferSpace": 1,
|
|
"DoItAllSecondsBetweenLogs": 0,
|
|
"HeartbeatInterval": 15000,
|
|
"MissingHeartbeatsBeforeGc": 50,
|
|
"UseManagedSockets": true,
|
|
"StateUpdatePeriod": 5000,
|
|
"StatisticsUpdatePeriod": 5000,
|
|
"DisposedConnectionCheckPeriod": 1000,
|
|
"MessageProcessingWarningThreshold": 1000,
|
|
"ServerPort": 12345,
|
|
"Routing": {
|
|
"PublisherRoutes": [
|
|
{
|
|
"Name": "default",
|
|
"ServerAddress": "bts-cloud://127.0.0.1:12345",
|
|
"TagRegExp": ".*"
|
|
}
|
|
],
|
|
"SubscriberRoutes": [
|
|
{
|
|
"Name": "default",
|
|
"ServerAddress": "bts-cloud://127.0.0.1:12345",
|
|
"TagRegExp": ".*"
|
|
}
|
|
]
|
|
},
|
|
"MaxPacketSize": 500000000,
|
|
"BlueCommMustDie": true,
|
|
"CrushableTags": [],
|
|
"TagTypeToAssemblyMap": {
|
|
"Entries": [
|
|
{
|
|
"HandlerClass": "BCG.PubSubServerTagHandler",
|
|
"Assembly": "DataStreamCore.dll"
|
|
}
|
|
]
|
|
},
|
|
"ServerQueue": "PubSubQueue",
|
|
"PortRange": {
|
|
"First": 30400,
|
|
"Last": 31700
|
|
},
|
|
"BindToRandomPort": false,
|
|
"DebugTags": "^NOTAGS$",
|
|
"LatencyReportThresholdMs": 1500,
|
|
"UseSubstations": false,
|
|
"UseDynamicClients": false,
|
|
"IsSubstation": false,
|
|
"InternallyPublishSubInfo": true,
|
|
"UseManagedClientsInNativeCode": false,
|
|
"CompressedTags": "^NOTAGS$",
|
|
"TagsToReportCompressionRatio": "^NOTAGS$",
|
|
"DisableMsmq": false,
|
|
"UsePrepublishedServerState": false,
|
|
"IpTranslation": null,
|
|
"GcActivationThreshold": 0,
|
|
"WaitPeriodAfterGc": 1000,
|
|
"TagHandlerFactory": {
|
|
"Handlers": [
|
|
{
|
|
"TagType": "DataStream",
|
|
"Assembly": "DataStreamCore",
|
|
"Class": "bts.PubsubServerStreamTagHandler"
|
|
},
|
|
{
|
|
"TagType": "System_Sub",
|
|
"Assembly": "PubSub",
|
|
"Class": "BCG.SystemSubscriptionMapPublisher"
|
|
},
|
|
{
|
|
"TagType": "System_Stats",
|
|
"Assembly": "PubSub",
|
|
"Class": "BCG.SystemStatsPublisher"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ViewStreamDatabase": {
|
|
"Interval": "00:00:01"
|
|
}
|
|
}
|