forked from mojaloop/central-settlement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.json
144 lines (144 loc) · 3.93 KB
/
default.json
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"PORT": 3007,
"HOSTNAME": "http://central-settlements.local",
"DATABASE": {
"DIALECT": "mysql",
"HOST": "localhost",
"PORT": 3306,
"USER": "central_ledger",
"PASSWORD": "password",
"SCHEMA": "central_ledger",
"POOL_MIN_SIZE": 10,
"POOL_MAX_SIZE": 10,
"ACQUIRE_TIMEOUT_MILLIS": 30000,
"CREATE_TIMEOUT_MILLIS": 30000,
"DESTROY_TIMEOUT_MILLIS": 5000,
"IDLE_TIMEOUT_MILLIS": 30000,
"REAP_INTERVAL_MILLIS": 1000,
"CREATE_RETRY_INTERVAL_MILLIS": 200,
"DEBUG": false
},
"WINDOW_AGGREGATION": {
"RETRY_COUNT": 3,
"RETRY_INTERVAL": 3000
},
"TRANSFER_VALIDITY_SECONDS": "432000",
"HUB_PARTICIPANT": {
"ID": 1,
"NAME": "Hub"
},
"HANDLERS": {
"DISABLED": false,
"API": {
"DISABLED": false
}
},
"KAFKA": {
"TOPIC_TEMPLATES": {
"GENERAL_TOPIC_TEMPLATE": {
"TEMPLATE": "topic-{{functionality}}-{{action}}",
"REGEX": "topic-(.*)-(.*)"
}
},
"CONSUMER": {
"SETTLEMENTWINDOW": {
"CLOSE": {
"config": {
"options": {
"mode": 2,
"batchSize": 1,
"pollFrequency": 10,
"recursiveTimeout": 100,
"messageCharset": "utf8",
"messageAsJSON": true,
"sync": true,
"consumeTimeout": 1000
},
"rdkafkaConf": {
"client.id": "cs-con-setlementwindow-close",
"group.id": "cs-group-setlementwindow-close",
"metadata.broker.list": "localhost:9092",
"socket.keepalive.enable": true
},
"topicConf": {
"auto.offset.reset": "earliest"
}
}
}
},
"NOTIFICATION": {
"EVENT": {
"config": {
"options": {
"mode": 2,
"batchSize": 1,
"pollFrequency": 10,
"recursiveTimeout": 100,
"messageCharset": "utf8",
"messageAsJSON": true,
"sync": true,
"consumeTimeout": 1000
},
"rdkafkaConf": {
"client.id": "cs-con-transferfulfill-process",
"group.id": "cs-group-transferfulfill-process",
"metadata.broker.list": "localhost:9092",
"socket.keepalive.enable": true
},
"topicConf": {
"auto.offset.reset": "earliest"
}
}
}
}
},
"PRODUCER": {
"NOTIFICATION": {
"EVENT": {
"config": {
"options": {
"messageCharset": "utf8"
},
"rdkafkaConf": {
"debug": "all",
"metadata.broker.list": "localhost:9092",
"client.id": "cs-prod-notification-event",
"event_cb": true,
"compression.codec": "none",
"retry.backoff.ms": 100,
"message.send.max.retries": 2,
"socket.keepalive.enable": true,
"queue.buffering.max.messages": 10000000,
"batch.num.messages": 100,
"dr_cb": true,
"socket.blocking.max.ms": 1,
"queue.buffering.max.ms": 1,
"broker.version.fallback": "0.10.1.0",
"api.version.request": true
}
}
}
},
"SETTLEMENTWINDOW": {
"CLOSE": {
"config": {
"options": {
"messageCharset": "utf8"
},
"rdkafkaConf": {
"metadata.broker.list": "localhost:9092",
"client.id": "cs-prod-setlementwindow-close",
"event_cb": true,
"dr_cb": true,
"socket.keepalive.enable": true,
"queue.buffering.max.messages": 10000000
},
"topicConf": {
"request.required.acks": "all"
}
}
}
}
}
}
}