-
Notifications
You must be signed in to change notification settings - Fork 219
/
default.toml
84 lines (66 loc) · 1.44 KB
/
default.toml
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
80
81
82
83
84
checkpoint-url = "/tmp/arroyo/checkpoints"
default-checkpoint-interval = "10s"
[pipeline]
source-batch-size = 512
source-batch-linger = "100ms"
update-aggregate-flush-interval = "1s"
allowed-restarts = 20
worker-heartbeat-timeout = "30s"
healthy-duration = "2m"
worker-startup-time = "10m"
task-startup-time = "2m"
[pipeline.compaction]
enabled = false
checkpoints-to-compact = 4
# Services
[api]
bind-address = "0.0.0.0"
http-port = 8000
[controller]
bind-address = "0.0.0.0"
rpc-port = 9190
scheduler = "process"
[compiler]
bind-address = "0.0.0.0"
rpc-port = 9191
install-clang = true
install-rustc = true
artifact-url = "/tmp/arroyo/artifacts"
build-dir = "/tmp/arroyo/build-dir"
[worker]
bind-address = "0.0.0.0"
rpc-port = 0
data-port = 0
task-slots = 16
queue-size = 8192
[node]
bind-address = "0.0.0.0"
rpc-port = 9192
task-slots = 16
[admin]
bind-address = "0.0.0.0"
http-port = 8001
# Schedulers
[process-scheduler]
slots-per-process = 16
[kubernetes-scheduler]
namespace = "default"
resource-mode = "per-slot"
[kubernetes-scheduler.worker]
name-prefix = "arroyo"
image = "ghcr.io/arroyosystems/arroyo:latest"
image-pull-policy = "IfNotPresent"
service-account-name = "default"
resources = { requests = { cpu = "900m", memory = "500Mi" } }
task-slots = 16
command = "/app/arroyo worker"
# other
[database]
type = "sqlite"
[database.postgres]
database-name = "arroyo"
host = "localhost"
port = 5432
user = "arroyo"
password = "arroyo"
[logging]