-
Notifications
You must be signed in to change notification settings - Fork 2
/
.engine.yml.template
66 lines (62 loc) · 1.27 KB
/
.engine.yml.template
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
license_key: ""
# in dev mode you can run it locally without a key with a 20k topic offset limit
# use any other environment to go in production mode where key is needed
env: dev
server:
debug: true
monitoring:
enabled: true
host: 0.0.0.0
port: 6060
kafka:
use_tls: false
reader:
queue_capacity: 1000
max_wait: 1000
min_bytes: 1024
max_bytes: 10485760
read_backoff_min: 100
read_backoff_max: 1000
channel_size: 20000
writer:
queue_capacity: 2000
batch_size: 2000
batch_bytes: 1048576
batch_timeout: 10
async: false
markets:
btcusdt:
market_id: btcusdt
price_precision: 4
volume_precision: 8
backup:
interval: 1
path: /root/backups/btcusdt.dat
listen:
broker: requests
topic: engine.orders.btcusdt
publish:
broker: events
topic: engine.events.btcusdt
ethbtc:
market_id: ethbtc
price_precision: 8
volume_precision: 8
backup:
interval: 1
path: /root/backups/ethbtc.dat
listen:
broker: requests
topic: engine.orders.ethbtc
publish:
broker: events
topic: engine.events.ethbtc
brokers:
consumers:
requests:
hosts:
- kafka:9092
producers:
events:
hosts:
- kafka:9092