Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit fd6274e

Browse files
committed
update configs
1 parent 804892c commit fd6274e

File tree

6 files changed

+20
-80
lines changed

6 files changed

+20
-80
lines changed

docker/docker-chaos/metrictank.ini

+4-14
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,12 @@ brokers = kafka:9092
228228
kafka-version = 0.10.0.0
229229
# kafka topic (may be given multiple times as a comma-separated list)
230230
topics = mdm
231-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
231+
# offset to start consuming from. Can be oldest, newest or a time duration
232232
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
233233
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
234-
offset = last
234+
offset = newest
235235
# kafka partitions to consume. use '*' or a comma separated list of id's
236236
partitions = *
237-
# save interval for offsets
238-
offset-commit-interval = 5s
239-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
240-
# it will be created (incl parent dirs) if not existing.
241-
data-dir = /var/lib/metrictank
242237
# The number of metrics to buffer in internal and external channels
243238
channel-buffer-size = 1000
244239
# The minimum number of message bytes to fetch in a request
@@ -330,17 +325,12 @@ kafka-version = 0.10.0.0
330325
topic = metricpersist
331326
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
332327
partitions = *
333-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
328+
# offset to start consuming from. Can be oldest, newest or a time duration
334329
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
335330
# Should match your kafka-mdm-in setting
336-
offset = last
337-
# save interval for offsets
338-
offset-commit-interval = 5s
331+
offset = newest
339332
# Maximum time backlog processing can block during metrictank startup.
340333
backlog-process-timeout = 60s
341-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
342-
# it will be created (incl parent dirs) if not existing.
343-
data-dir = /var/lib/metrictank
344334

345335
### nsq as transport for clustering messages
346336
[nsq-cluster]

docker/docker-cluster/metrictank.ini

+2-12
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,12 @@ brokers = kafka:9092
228228
kafka-version = 0.10.0.0
229229
# kafka topic (may be given multiple times as a comma-separated list)
230230
topics = mdm
231-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
231+
# offset to start consuming from. Can be oldest, newest or a time duration
232232
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
233233
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
234234
offset = oldest
235235
# kafka partitions to consume. use '*' or a comma separated list of id's
236236
partitions = *
237-
# save interval for offsets
238-
offset-commit-interval = 5s
239-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
240-
# it will be created (incl parent dirs) if not existing.
241-
data-dir = /var/lib/metrictank
242237
# The number of metrics to buffer in internal and external channels
243238
channel-buffer-size = 1000
244239
# The minimum number of message bytes to fetch in a request
@@ -330,17 +325,12 @@ kafka-version = 0.10.0.0
330325
topic = metricpersist
331326
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
332327
partitions = *
333-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
328+
# offset to start consuming from. Can be oldest, newest or a time duration
334329
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
335330
# Should match your kafka-mdm-in setting
336331
offset = oldest
337-
# save interval for offsets
338-
offset-commit-interval = 5s
339332
# Maximum time backlog processing can block during metrictank startup.
340333
backlog-process-timeout = 60s
341-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
342-
# it will be created (incl parent dirs) if not existing.
343-
data-dir = /var/lib/metrictank
344334

345335
### nsq as transport for clustering messages
346336
[nsq-cluster]

docker/docker-dev-custom-cfg-kafka/metrictank.ini

+2-12
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,12 @@ brokers = kafka:9092
228228
kafka-version = 0.10.0.0
229229
# kafka topic (may be given multiple times as a comma-separated list)
230230
topics = mdm
231-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
231+
# offset to start consuming from. Can be oldest, newest or a time duration
232232
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
233233
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
234234
offset = oldest
235235
# kafka partitions to consume. use '*' or a comma separated list of id's
236236
partitions = *
237-
# save interval for offsets
238-
offset-commit-interval = 5s
239-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
240-
# it will be created (incl parent dirs) if not existing.
241-
data-dir = /var/lib/metrictank
242237
# The number of metrics to buffer in internal and external channels
243238
channel-buffer-size = 1000
244239
# The minimum number of message bytes to fetch in a request
@@ -330,17 +325,12 @@ kafka-version = 0.10.0.0
330325
topic = metricpersist
331326
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
332327
partitions = *
333-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
328+
# offset to start consuming from. Can be oldest, newest or a time duration
334329
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
335330
# Should match your kafka-mdm-in setting
336331
offset = oldest
337-
# save interval for offsets
338-
offset-commit-interval = 5s
339332
# Maximum time backlog processing can block during metrictank startup.
340333
backlog-process-timeout = 60s
341-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
342-
# it will be created (incl parent dirs) if not existing.
343-
data-dir = /var/lib/metrictank
344334

345335
### nsq as transport for clustering messages
346336
[nsq-cluster]

docs/config.md

+4-14
Original file line numberDiff line numberDiff line change
@@ -281,17 +281,12 @@ brokers = kafka:9092
281281
kafka-version = 0.10.0.0
282282
# kafka topic (may be given multiple times as a comma-separated list)
283283
topics = mdm
284-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
284+
# offset to start consuming from. Can be oldest, newest or a time duration
285285
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
286286
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
287-
offset = last
287+
offset = newest
288288
# kafka partitions to consume. use '*' or a comma separated list of id's
289289
partitions = *
290-
# save interval for offsets
291-
offset-commit-interval = 5s
292-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
293-
# it will be created (incl parent dirs) if not existing.
294-
data-dir =
295290
# The number of metrics to buffer in internal and external channels
296291
channel-buffer-size = 1000
297292
# The minimum number of message bytes to fetch in a request
@@ -392,17 +387,12 @@ kafka-version = 0.10.0.0
392387
topic = metricpersist
393388
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
394389
partitions = *
395-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
390+
# offset to start consuming from. Can be oldest, newest or a time duration
396391
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
397392
# Should match your kafka-mdm-in setting
398-
offset = last
399-
# save interval for offsets
400-
offset-commit-interval = 5s
393+
offset = newest
401394
# Maximum time backlog processing can block during metrictank startup.
402395
backlog-process-timeout = 60s
403-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
404-
# it will be created (incl parent dirs) if not existing.
405-
data-dir =
406396
```
407397

408398
### nsq as transport for clustering messages

scripts/config/metrictank-docker.ini

+4-14
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,12 @@ brokers = kafka:9092
228228
kafka-version = 0.10.0.0
229229
# kafka topic (may be given multiple times as a comma-separated list)
230230
topics = mdm
231-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
231+
# offset to start consuming from. Can be oldest, newest or a time duration
232232
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
233233
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
234-
offset = last
234+
offset = newest
235235
# kafka partitions to consume. use '*' or a comma separated list of id's
236236
partitions = *
237-
# save interval for offsets
238-
offset-commit-interval = 5s
239-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
240-
# it will be created (incl parent dirs) if not existing.
241-
data-dir = /var/lib/metrictank
242237
# The number of metrics to buffer in internal and external channels
243238
channel-buffer-size = 1000
244239
# The minimum number of message bytes to fetch in a request
@@ -330,17 +325,12 @@ kafka-version = 0.10.0.0
330325
topic = metricpersist
331326
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
332327
partitions = *
333-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
328+
# offset to start consuming from. Can be oldest, newest or a time duration
334329
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
335330
# Should match your kafka-mdm-in setting
336-
offset = last
337-
# save interval for offsets
338-
offset-commit-interval = 5s
331+
offset = newest
339332
# Maximum time backlog processing can block during metrictank startup.
340333
backlog-process-timeout = 60s
341-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
342-
# it will be created (incl parent dirs) if not existing.
343-
data-dir = /var/lib/metrictank
344334

345335
### nsq as transport for clustering messages
346336
[nsq-cluster]

scripts/config/metrictank-package.ini

+4-14
Original file line numberDiff line numberDiff line change
@@ -228,17 +228,12 @@ brokers = localhost:9092
228228
kafka-version = 0.10.0.0
229229
# kafka topic (may be given multiple times as a comma-separated list)
230230
topics = mdm
231-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
231+
# offset to start consuming from. Can be oldest, newest or a time duration
232232
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
233233
# the further back in time you go, the more old data you can load into metrictank, but the longer it takes to catch up to realtime data
234-
offset = last
234+
offset = newest
235235
# kafka partitions to consume. use '*' or a comma separated list of id's
236236
partitions = *
237-
# save interval for offsets
238-
offset-commit-interval = 5s
239-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
240-
# it will be created (incl parent dirs) if not existing.
241-
data-dir = /var/lib/metrictank
242237
# The number of metrics to buffer in internal and external channels
243238
channel-buffer-size = 1000
244239
# The minimum number of message bytes to fetch in a request
@@ -330,17 +325,12 @@ kafka-version = 0.10.0.0
330325
topic = metricpersist
331326
# kafka partitions to consume. use '*' or a comma separated list of id's. Should match kafka-mdm-in's partitions.
332327
partitions = *
333-
# offset to start consuming from. Can be one of newest, oldest,last or a time duration
328+
# offset to start consuming from. Can be oldest, newest or a time duration
334329
# When using a duration but the offset request fails (e.g. Kafka doesn't have data so far back), metrictank falls back to `oldest`.
335330
# Should match your kafka-mdm-in setting
336-
offset = last
337-
# save interval for offsets
338-
offset-commit-interval = 5s
331+
offset = newest
339332
# Maximum time backlog processing can block during metrictank startup.
340333
backlog-process-timeout = 60s
341-
# directory to store partition offsets index. supports relative or absolute paths. empty means working dir.
342-
# it will be created (incl parent dirs) if not existing.
343-
data-dir = /var/lib/metrictank
344334

345335
### nsq as transport for clustering messages
346336
[nsq-cluster]

0 commit comments

Comments
 (0)