Skip to content

Commit 17bd157

Browse files
committed
latest backbeat config updates
1 parent b4113e3 commit 17bd157

File tree

1 file changed

+29
-32
lines changed

1 file changed

+29
-32
lines changed

templates/backbeat/config.json

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,41 @@
11
{
22
"zookeeper": {
33
"connectionString": "127.0.0.1:2181/backbeat",
4-
"autoCreateNamespace": true
4+
"autoCreateNamespace": false
55
},
66
"kafka": {
77
"hosts": "127.0.0.1:9092",
8+
"compressionType": "none",
9+
"requiredAcks": 1,
810
"backlogMetrics": {
911
"zkPath": "/run/kafka-backlog-metrics",
1012
"intervalS": 60
11-
}
13+
},
14+
"maxRequestSize": 5000020
1215
},
1316
"s3": {
1417
"host": "127.0.0.1",
1518
"port": 8000
1619
},
20+
"vaultAdmin": {
21+
"host": "127.0.0.1",
22+
"port": 8500
23+
},
24+
"replicationGroupId": "RG001 ",
1725
"queuePopulator": {
1826
"cronRule": "*/5 * * * * *",
1927
"batchMaxRead": 10000,
28+
"batchTimeoutMs": 9000,
2029
"zookeeperPath": "/queue-populator",
2130
"logSource": "bucketd",
2231
"bucketd": {
2332
"host": "127.0.0.1",
2433
"port": 9000
2534
},
35+
"dmd": {
36+
"host": "127.0.0.1",
37+
"port": 9990
38+
},
2639
"mongo": {
2740
"replicaSetHosts":
2841
"localhost:27017,localhost:27018,localhost:27019",
@@ -31,6 +44,10 @@
3144
"readPreference": "primary",
3245
"database": "metadata"
3346
},
47+
"kafka": {
48+
"topic": "backbeat-oplog",
49+
"consumerGroupId": "backbeat-qp-oplog-group"
50+
},
3451
"probeServer": {
3552
"bindAddress": "localhost",
3653
"port": 4042
@@ -84,36 +101,6 @@
84101
"queueProcessor": {
85102
"groupId": "backbeat-replication-group",
86103
"retry": {
87-
"aws_s3": {
88-
"maxRetries": 5,
89-
"timeoutS": 900,
90-
"backoff": {
91-
"min": 60000,
92-
"max": 900000,
93-
"jitter": 0.1,
94-
"factor": 1.5
95-
}
96-
},
97-
"azure": {
98-
"maxRetries": 5,
99-
"timeoutS": 900,
100-
"backoff": {
101-
"min": 60000,
102-
"max": 900000,
103-
"jitter": 0.1,
104-
"factor": 1.5
105-
}
106-
},
107-
"gcp": {
108-
"maxRetries": 5,
109-
"timeoutS": 900,
110-
"backoff": {
111-
"min": 60000,
112-
"max": 900000,
113-
"jitter": 0.1,
114-
"factor": 1.5
115-
}
116-
},
117104
"scality": {
118105
"maxRetries": 5,
119106
"timeoutS": 300,
@@ -134,6 +121,16 @@
134121
},
135122
"replicationStatusProcessor": {
136123
"groupId": "backbeat-replication-group",
124+
"retry": {
125+
"maxRetries": 5,
126+
"timeoutS": 300,
127+
"backoff": {
128+
"min": 1000,
129+
"max": 300000,
130+
"jitter": 0.1,
131+
"factor": 1.5
132+
}
133+
},
137134
"concurrency": 10,
138135
"probeServer": {
139136
"bindAddress": "localhost",

0 commit comments

Comments
 (0)