diff options
Diffstat (limited to 'configuration')
-rw-r--r-- | configuration/rumqttd/rumqttd_5883.conf | 27 | ||||
-rw-r--r-- | configuration/rumqttd/rumqttd_5884.conf | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/configuration/rumqttd/rumqttd_5883.conf b/configuration/rumqttd/rumqttd_5883.conf new file mode 100644 index 00000000..be14abf9 --- /dev/null +++ b/configuration/rumqttd/rumqttd_5883.conf @@ -0,0 +1,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"
\ No newline at end of file diff --git a/configuration/rumqttd/rumqttd_5884.conf b/configuration/rumqttd/rumqttd_5884.conf new file mode 100644 index 00000000..95f8e6ca --- /dev/null +++ b/configuration/rumqttd/rumqttd_5884.conf @@ -0,0 +1,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:5884"
+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"
\ No newline at end of file |