-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.cfg
43 lines (42 loc) · 872 Bytes
/
app.cfg
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
version = "1.0";
logger:
{
type = "stderr"; // file, stderr, stdout
level = "debug"; // error, warn, info, debug
filename = "app.log";
/*categories =
(
{
category = "category";
level = "debug"; // error, warn, info, debug
}
);*/
};
rabbitmq:
{
address = "amqp://guest:guest@localhost:5672/";
};
db:
{
type = "mongo";
address = "mongodb://localhost:27017";
db_name = "leaderboard_db";
users_collection_name = "users";
connected_users_collection_name = "connected_users";
};
application:
{
processors-count = 1;
loop-interval = 60;
consumer:
{
exchange = "leaderboard-users";
queue = "users-events-queue";
routing-key = "user-key";
};
publisher:
{
exchange = "leaderboard";
routing-key = "leaderboard-key";
};
};