forked from mojaloop/email-notifier
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.json
95 lines (95 loc) · 2.62 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
{
"emailSettings": {
"smtpConfig": {
"host": "smtp-relay.sendinblue.com",
"port": 587,
"secureConnection": false,
"tls": {
"ciphers": "SSLv3"
},
"auth": {
"user": "[email protected]",
"pass": "NdMCVgq5HROtDGI4"
}
}
},
"PORT": 3081,
"KAFKA": {
"TOPIC_TEMPLATES": {
"NOTIFICATION_TOPIC_TEMPLATE": {
"TEMPLATE": "topic-notification-event",
"REGEX": "topic-notification-event"
},
"GENERAL_TOPIC_TEMPLATE": {
"TEMPLATE": "topic-{{functionality}}-{{action}}",
"REGEX": "topic-(.*)-(.*)"
}
},
"CONSUMER": {
"NOTIFICATION": {
"EVENT": {
"config": {
"options": {
"mode": 2,
"batchSize": 1,
"recursiveTimeout": 100,
"messageCharset": "utf8",
"messageAsJSON": true,
"sync": true,
"consumeTimeout": 1000
},
"rdkafkaConf": {
"client.id": "enotifier-con",
"group.id": "enotifier-group",
"metadata.broker.list": "localhost:9092",
"socket.blocking.max.ms": 1,
"fetch.wait.max.ms": 1,
"fetch.error.backoff.ms": 1,
"queue.buffering.max.ms": 1,
"broker.version.fallback": "0.10.1.0",
"api.version.request": true,
"enable.auto.commit": false,
"auto.commit.interval.ms": 200,
"socket.keepalive.enable": true,
"socket.max.fails": 1
},
"topicConf": {
"auto.offset.reset": "earliest"
}
}
}
}
},
"PRODUCER": {
"NOTIFICATION": {
"EVENT": {
"config": {
"options": {
"messageCharset": "utf8"
},
"rdkafkaConf": {
"debug": "all",
"metadata.broker.list": "localhost:9092",
"client.id": "enotifier-prod",
"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
}
}
}
}
}
},
"HUB_PARTICIPANT": {
"NAME": "Hub"
}
}