forked from ethpandaops/xatu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_cannon.yaml
90 lines (83 loc) · 1.91 KB
/
example_cannon.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
logging: "debug" # panic,fatal,warn,info,debug,trace
metricsAddr: ":9090"
# pprofAddr: ":6060" # optional. if supplied it enables pprof server
name: example-instance
labels:
ethpandaops: rocks
# Better to use a NTP server close eg.
# time.aws.com - AWS
# time.windows.com - Azure
# time.google.com - GCP
# pool.ntp.org - https://www.pool.ntp.org/zone/@
ntpServer: time.google.com
coordinator:
address: localhost:8080
# tls: false
# headers:
# authorization: Someb64Value
ethereum:
beaconNodeAddress: http://localhost:5052
# beaconNodeHeaders:
# authorization: Someb64Value
# overrideNetworkName: mainnet
# blockCacheSize: 1000
# blockCacheTtl: 1h
# blockPreloadWorkers: 5
# blockPreloadQueueSize: 5000
# derivers:
# attesterSlashing:
# enabled: true
# blsToExecutionChange:
# enabled: true
# deposit:
# enabled: true
# withdrawal:
# enabled: true
# executionTransaction:
# enabled: true
# proposerSlashing:
# enabled: true
# voluntaryExit:
# enabled: true
# blockClassification:
# enabled: false
outputs:
- name: http-sink
type: http
# filter:
# eventNames:
# - BEACON_API_ETH_V1_EVENTS_BLOCK_DEPOSIT
config:
address: http://localhost:8080
headers:
authorization: Someb64Value
maxQueueSize: 51200
batchTimeout: 5s
exportTimeout: 30s
maxExportBatchSize: 512
- name: xatu-server
type: xatu
# filter:
# eventNames:
# - BEACON_API_ETH_V1_EVENTS_BLOCK_DEPOSIT
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