-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrelayer.conf
63 lines (56 loc) · 1.27 KB
/
relayer.conf
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
# En example configuration in toml https://github.com/toml-lang/toml
comment = "Smart-relayer configuration"
# A smart server
[[relayer]]
protocol = "redis"
mode = "smart"
listen = "tcp://:6389"
url = "tcp://192.168.0.149:6379"
maxConnections = 20
maxIdleConnections = 10
# A smart server with unix socket
[[relayer]]
protocol = "redis"
mode = "smart"
listen = "unix:/tmp/redis.sock"
url = "tcp://192.168.0.149:6379"
maxConnections = 20
maxIdleConnections = 10
# A synchronous server
[[relayer]]
protocol = "redis"
mode = "sync"
listen = "tcp://:6390"
url = "tcp://192.168.0.149:6379"
maxConnections = 20
maxIdleConnections = 10
# Kinesis Firehose
[[relayer]]
protocol = "firehose"
mode = "smart"
listen = "unix:/tmp/firehose.sock"
maxConnections = 2
maxRecords = 100
streamName = "testing"
region = "eu-west-1"
ignoreCommands = "SET GET"
#profile = "yourprofilename" # Profile for authentication
# Kinesis Firehose over http
[[relayer]]
protocol = "httpToFirehose"
mode = "smart"
listen = "tcp://127.0.0.1:9999"
maxConnections = 2
maxRecords = 100
streamName = "testing"
region = "eu-west-1"
concat = true
# FS
[[relayer]]
protocol = "fs"
mode = "smart"
listen = "unix:/tmp/file.sock"
maxConnections = 10
path = "/tmp/smart-relayer-fs"
s3bucket = "name-of-your-bucket"
region = "eu-west-1"