-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappsettings.example.json
More file actions
72 lines (65 loc) · 1.78 KB
/
Copy pathappsettings.example.json
File metadata and controls
72 lines (65 loc) · 1.78 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
63
64
65
66
67
68
69
70
71
72
{
"ConnectionStrings": {
"ApplicationDatabase": "Host=localhost;Port=5432;Database=myapp;Username=myuser;Password=mypassword",
"AuditDatabase": "Host=localhost;Port=5432;Database=myapp_audit;Username=myuser;Password=mypassword"
},
"ChangeLogMonitor": {
"Kafka": {
"BootstrapServers": "localhost:9092",
"SecurityProtocol": "Plaintext",
"SaslMechanism": "Plain",
"SaslUsername": "",
"SaslPassword": "",
"Topics": {
"CdcEvents": "dbserver1.public.changelog",
"Metadata": "dbserver1.public.changelog_metadata"
},
"ConsumerGroup": "changelog-monitor-group",
"AutoOffsetReset": "Earliest",
"EnableAutoCommit": false
},
"Debezium": {
"ServerName": "dbserver1",
"ConnectorName": "changelog-connector",
"DatabaseHostname": "localhost",
"DatabasePort": 5432,
"DatabaseName": "myapp",
"DatabaseUser": "debezium_user",
"DatabasePassword": "debezium_password",
"TableIncludeList": "public.users,public.orders,public.payments",
"PluginName": "pgoutput"
},
"Storage": {
"Provider": "PostgreSQL",
"TablePrefix": "audit_",
"SchemaName": "audit",
"EnableCompression": true,
"EnableEncryption": false
},
"ConfigFile": "changelog-config.yaml"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"ChangeLogMonitor": "Debug"
},
"Console": {
"FormatterName": "json",
"FormatterOptions": {
"TimestampFormat": "yyyy-MM-dd HH:mm:ss "
}
}
},
"AllowedHosts": "*",
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5000"
},
"Https": {
"Url": "https://localhost:5001"
}
}
}
}