summaryrefslogtreecommitdiffstats
path: root/configuration/rumqttd/rumqttd_5883.conf
blob: be14abf94846005214af1209cca225ba8c3eefa4 (plain)
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
# Broker id. Used to identify local node of the replication mesh
id = 0

# A commitlog read will pull full segment. Make sure that a segment isn't
# too big as async tcp writes readiness of one connection might affect tail
# latencies of other connection. Not a problem with preempting runtimes
[router]
id = 0
dir = "/tmp/rumqttd"
max_segment_size = 10240
max_segment_count = 10
max_connections = 10

# Configuration of server and connections that it accepts
[servers.1]
listen = "0.0.0.0:5883"
next_connection_delay_ms = 1
    [servers.1.connections]
    connection_timeout_ms = 100
    max_client_id_len = 256
    throttle_delay_ms = 0
    max_payload_size = 268435455
    max_inflight_count = 200
    max_inflight_size = 1024

[console]
listen = "0.0.0.0:3030"