-
Notifications
You must be signed in to change notification settings - Fork 1
/
storm.yaml
47 lines (44 loc) · 1.57 KB
/
storm.yaml
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
storm.zookeeper.servers: [zookeeper]
nimbus.seeds: [nimbus]
storm.log.dir: "/logs"
storm.local.dir: "/data"
#Unrecognized VM option 'PrintGCDateStamps' in worker logs, Worker crashing
#https://stackoverflow.com/questions/56902645/topology-just-idles-on-storm-in-remote-mode
worker.childopts: "-Xmx%HEAP-MEM%m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=artifacts/heapdump"
worker.heap.memory.mb: 2048 #1536
topology.component.resources.onheap.memory.mb: 512.0
topology.worker.max.heap.size.mb: 2048 #1536
#topology.max.spout.pending: 500000
nimbus.task.timeout.secs: 30 #30
nimbus.supervisor.timeout.secs: 60 #60
topology.message.timeout.secs: 30
#metrics reporter V2 Metrics
storm.metrics.reporters:
# Graphite Reporter
# - class: "org.apache.storm.metrics2.reporters.GraphiteStormReporter"
# daemons:
# - "supervisor"
# - "nimbus"
# - "worker"
# report.period: 10
# report.period.units: "SECONDS"
# graphite.host: "graphite"
# graphite.port: 2003
- class: "com.wizenoze.storm.metrics2.reporters.PrometheusStormReporter"
daemons:
- "supervisor"
- "nimbus"
- "worker"
report.period: 5
report.period.units: "SECONDS"
prometheus.scheme: "http"
prometheus.host: "pushgateway"
prometheus.port: 9091
filter:
class: "org.apache.storm.metrics2.filters.RegexFilter"
expression: ".*.topology.*bolt.*"
# Legacy Metrics System
# topology.metrics.consumer.register:
# - class: "org.apache.storm.metric.LoggingMetricsConsumer"
# parallelism.hint: 1
# topology.builtin.metrics.bucket.size.secs: 10