-
Notifications
You must be signed in to change notification settings - Fork 16
/
example_sage.yaml
60 lines (55 loc) · 1.46 KB
/
example_sage.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
48
49
50
51
52
53
54
55
56
57
58
59
60
logging: "debug" # panic,fatal,warn,info,debug,trace
metricsAddr: ":9095"
pprofAddr: ":6065" # optional. if supplied it enables pprof server
name: example-instance
armiarmaUrl: http://localhost:9099/events
# workers is the number of workers to use for processing events.
# Warning: Running more than 1 worker may result in more than $DUPLICATE_ATTESTATION_THRESHOLD
workers: 1
# duplicateAttestationThreshold is the number of duplicate attestations to allow before
# dropping the attestation.
duplicateAttestationThreshold: 3
ethereum:
beaconNodeAddress: http://localhost:5052
beaconNodeHeaders:
# Authorization: Basic eW91aGF2aW5nYWxhdWdobWF0ZT8=
outputs:
- name: http-sink
type: http
# filter:
# eventNames:
# - BEACON_P2P_ATTESTATION
config:
address: http://localhost:8080
headers:
authorization: Someb64Value
maxQueueSize: 51200
batchTimeout: 5s
exportTimeout: 30s
maxExportBatchSize: 512
- name: xatu-server
type: xatu
# filter:
# eventNames:
# - BEACON_P2P_ATTESTATION
config:
address: localhost:8080
tls: false
headers:
authorization: Someb64Value
maxQueueSize: 51200
batchTimeout: 5s
exportTimeout: 30s
maxExportBatchSize: 512
- name: kafka-sink
type: kafka
config:
brokers: localhost:19092
topic: events
flushFrequency: 1s
flushMessages: 500
flushBytes: 1000000
maxRetries: 6
compression: snappy
requiredAcks: leader
partitioning: random