-
Notifications
You must be signed in to change notification settings - Fork 0
/
likes.json
79 lines (79 loc) · 1.94 KB
/
likes.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
{
"HttpPort": 5311,
"PrivateHttpPort": 5212,
"WorkerPoolSize": 2048,
"MaxStmtsPerBatch": 130,
"ContentWrapper": {
"ApiUrl": "",
"Timeout": 5
},
"Scylla": {
"Hosts": "127.0.0.1",
"UserName": "",
"Password": "",
"Keyspace": "local_like",
"PageSize": 5000000,
"NumConns": 2,
"MaxRoutingKeyInfo": 1000000,
"MaxPreparedStmts": 1000000,
"TimeoutSeconds" : 10
},
"CdcKafka": {
"Hosts": "127.0.0.1",
"KafkaAuth": {},
"GroupId": "local-like-backend",
"Topic": "LocalCDCScylla.local_events.like",
"MinBytes": 10e5,
"MaxBytes": 10e7,
"MaxDuration": 1000,
"MaxBatchSize": 10000,
"Tls" : true,
"MaxBackOffTimeMilliseconds": 60000,
"BackOffTimeIntervalMilliseconds": 1000
},
"KafkaWriter": {
"Hosts": "127.0.0.1",
"KafkaAuth": {},
"Tls": true
},
"NotifierLikeContentConfig": {
"KafkaTopic": {
"Name": "local.likes",
"NumPartitions": 0,
"ReplicationFactor": 0
},
"PollTimeMs": 2000,
"WorkerPoolSize": 128
},
"NotifierLikesCounterConfig": {
"KafkaTopic": {
"Name": "local.likes_count",
"NumPartitions": 0,
"ReplicationFactor": 0
},
"PollTimeMs": 2000,
"WorkerPoolSize": 128
},
"NotifierUserLikesCounterConfig": {
"KafkaTopic": {
"Name": "local.likes_received_by_user_count",
"NumPartitions": 0,
"ReplicationFactor": 0
},
"PollTimeMs": 2000,
"WorkerPoolSize": 128
},
"UserListener": {
"Hosts": "127.0.0.1",
"KafkaAuth": {},
"GroupId": "local-user-like-backend",
"Topic": "local.user",
"MinBytes": 10e5,
"MaxBytes": 10e7,
"MaxDuration": 1000,
"MaxBatchSize": 10000,
"Tls" : true,
"MaxBackOffTimeMilliseconds": 60000,
"BackOffTimeIntervalMilliseconds": 1000
}
}