-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.Development.json
More file actions
62 lines (62 loc) · 1.71 KB
/
Copy pathappsettings.Development.json
File metadata and controls
62 lines (62 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"ConnectionStrings": {
"NATSServers": [
"nats://ip1:4222,nats://ip2:4222,nats://ip3:4222",
"nats://ip2:4222,nats://ip3:4222,nats://ip1:4222",
"nats://ip3,nats://ip1:4222,nats://ip2:4222"
] //config like this to support round robin logic
},
"Kestrel": {
"Limits": {
"MaxConcurrentConnections": null,
"MaxConcurrentUpgradedConnections": null,
"MaxRequestBufferSize": null,
"MaxRequestHeaderCount": 4096,
"MaxRequestHeadersTotalSize": 28672,
"MaxRequestBodySize": null,
"MaxResponseBufferSize": null,
"AddServerHeader": false
},
"EndPoints": {
"Http": {
"Url": "http://*:7500"
}
}
},
"Settings": {
"Subject": "test-database-notification.customer",
"Batch": 5,
"NatsConnectionPoolSize": 2, // There will be a total of ([configValue] * ConnectionStrings:NATSServers connections
"UseConnectionPool":
true //to use connection pool or a single connection, in both cases, the connection pool will always have connections inside
},
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
},
"Console": {
"LogLevel": {
"Default": "None"
}
},
"GELF": {
"IncludeScopes": true,
"LogLevel": {
"Default": "Information",
"Microsoft": "None",
"Microsoft.AspNetCore.Mvc.Internal": "Warning",
"Microsoft.AspNetCore.Authentication": "Warning"
}
}
},
"Graylog": {
"Host": "graylog.mycompanydomain.com",
"Port": 12201,
"LogSource": "NotificationServer",
"AdditionalFields": {
"X-STREAM-ID": "NotificationServer.mycompanydomain.com"
}
}
}