-
Notifications
You must be signed in to change notification settings - Fork 16
/
example_mimicry.yaml
75 lines (69 loc) · 1.99 KB
/
example_mimicry.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
logging: "debug" # panic,fatal,warn,info,debug,trace
metricsAddr: ":9090"
# pprofAddr: ":6060" # optional. if supplied it enables pprof server
# probeAddr: ":8080" # optional. if supplied it enables health probe 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
# Delay before capturing transactions from a peer.
# This is the avoid the initial deluge of transactions
# when a peer is first connected to.
captureDelay: 3m
coordinator:
type: static
config:
retryInterval: 60s
# can be ENR or ENODE format
nodeRecords:
- enr:-IS4QHCYrYZbAKWCBRlAy5zzaDZXJBGkcnh4MHcBFZntXNFrdvJjX04jRzjzCBOonrkTfj499SZuOh8R33Ls8RRcy5wBgmlkgnY0gmlwhH8AAAGJc2VjcDI1NmsxoQPKY0yuDUmstAHYpMa2_oxVtw0RW_QAdpzBQA8yWM0xOIN1ZHCCdl8
- enode://dd47aff4da11c82496fec9253a1d2dac8c4abdbf93ff7458cf7965447355c265907b41dbd8c4b1dded6ae28b5a4d2d6b4d3fdad2950e5b6ef56169958b80b450@127.0.0.1:30301
# type: xatu
# config:
# address: localhost:8080
# tls: false
# headers:
# authorization: Someb64Value
# networkIds: [1]
# forkIdHashes: [0xf0afd0e3]
# capabilities: [eth/68]
# maxPeers: 100
outputs:
- name: http-sink
type: http
config:
address: http://localhost:8080
headers:
authorization: Someb64Value
maxQueueSize: 51200
batchTimeout: 5s
exportTimeout: 30s
maxExportBatchSize: 512
- name: xatu-server
type: xatu
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