This repository was archived by the owner on Mar 31, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +96
-0
lines changed
Expand file tree Collapse file tree 2 files changed +96
-0
lines changed Original file line number Diff line number Diff line change @@ -179,6 +179,12 @@ The Reaper service specific configuration values are:
179179 Optional setting for giving username and password credentials for the used JMX connections
180180 in case you are using password based JMX authentication with your Cassandra clusters.
181181
182+ ```
183+ jmxAuth:
184+ username: cassandra
185+ password: cassandra
186+ ```
187+
182188* enableCrossOrigin:
183189
184190 Optional setting which you can set to be "true", if you wish to enable the CORS headers
@@ -191,6 +197,25 @@ The Reaper service specific configuration values are:
191197 for each keyspace. Cluster keyspaces are monitored based on a configurable frequency,
192198 so that adding or removing a keyspace will result in adding / removing the corresponding scheduled repairs.
193199
200+ * cassandra:
201+
202+ Optional setting to provide cassandra store when ```storageType: cassandra```
203+ The sample here shows setup using plain authentication with ssl.
204+ ```
205+ cassandra:
206+ clusterName: "test"
207+ contactPoints: [ "127.0.0.1"]
208+ keyspace: reaper_db
209+ authProvider:
210+ type: plainText
211+ username: cassandra
212+ password: cassandra
213+ ssl:
214+ type: jdk
215+ ```
216+ Refer to resource/cassandra-reaper-cassandra-ssl.yaml for cassandra with Auth
217+
218+
194219Notice that in the *server* section of the configuration, if you want to bind the service
195220to all interfaces, use value "0.0.0.0", or just leave the *bindHost* line away completely.
196221Using "*" as bind value won't work.
Original file line number Diff line number Diff line change 1+ # Cassandra Reaper Configuration Example.
2+ # See a bit more complete example in:
3+ # src/test/resources/cassandra-reaper.yaml
4+ segmentCount : 200
5+ repairParallelism : DATACENTER_AWARE
6+ repairIntensity : 0.9
7+ scheduleDaysBetween : 7
8+ repairRunThreadCount : 15
9+ hangingRepairTimeoutMins : 30
10+ storageType : cassandra
11+ enableCrossOrigin : true
12+ incrementalRepair : false
13+ allowUnreachableNodes : false
14+ enableDynamicSeedList : true
15+
16+ jmxPorts :
17+ 127.0.0.1 : 7198
18+ 127.0.0.2 : 7200
19+ 127.0.0.3 : 7300
20+ 127.0.0.4 : 7400
21+ 127.0.0.5 : 7500
22+ 127.0.0.6 : 7600
23+ 127.0.0.7 : 7700
24+ 127.0.0.8 : 7800
25+
26+ jmxAuth :
27+ username : cassandra
28+ password : cassandra
29+
30+ logging :
31+ level : INFO
32+ loggers :
33+ io.dropwizard : WARN
34+ org.eclipse.jetty : WARN
35+ appenders :
36+ - type : console
37+ logFormat : " %-6level [%d] [%t] %logger{5} - %msg %n"
38+
39+ server :
40+ type : default
41+ applicationConnectors :
42+ - type : http
43+ port : 8080
44+ bindHost : 0.0.0.0
45+ adminConnectors :
46+ - type : http
47+ port : 8082
48+ bindHost : 0.0.0.0
49+ requestLog :
50+ appenders : []
51+
52+ cassandra :
53+ clusterName : " test"
54+ contactPoints : ["127.0.0.1"]
55+ keyspace : reaper_db
56+ authProvider :
57+ type : plainText
58+ username : cassandra
59+ password : cassandra
60+ ssl :
61+ type : jdk
62+
63+ autoScheduling :
64+ enabled : false
65+ initialDelayPeriod : PT15S
66+ periodBetweenPolls : PT10M
67+ timeBeforeFirstSchedule : PT5M
68+ scheduleSpreadPeriod : PT6H
69+ excludedKeyspaces :
70+ - keyspace1
71+ - keyspace2
You can’t perform that action at this time.
0 commit comments