aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-core/src/main/resources/configdefinitions/spooler.def
blob: a03010b0f3229fd9299e18543f958e5f22d3a559 (plain) (blame)
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
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
namespace=vespa.config.content.spooler

# The root directory under which the spooler will scan for content files
directory string default="var/spool/vespa"

# If true, move successfully processed files to <directory>/success
keepsuccess bool default=false

# How many bytes to store maximum in the failures directory (delete files instead of moving to failures if this is exceeded)
# If 0, don't restrict
maxfailuresize int default=0
maxfatalfailuresize int default=0

# How many bytes to store maximum in the successes directory (delete files instead of moving to successes if this is exceeded)
# If 0, don't restrict
maxsuccesssize int default=0

# How many worker threads to use
threads int default=10

# Which parsers to use and config for each of them.
parsers[].classname string
parsers[].parameters[].key string
parsers[].parameters[].value string

# The time spent in failures (seconds) until moving to fatalfailures (default 3 days)
maxfailuretime int default=259200

# The minimum number of retries before moving to fatalfailures
minfailureretries int default=5

# The maximum number of retries when getting transient errors sending messages to backend
maxretries int default=5