You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MQTTLoader is licensed under the Apache License, Version2.0.
27
27
28
28
## Publications
29
-
- R. Banno, K. Ohsawa, Y. Kitagawa, T. Takada, T. Yoshizawa, "Measuring Performance of MQTT v5.0 Brokers with MQTTLoader", IEEE Consumer Communications & Networking Conference (CCNC), January 2021. (accepted)
29
+
- R. Banno, K. Ohsawa, Y. Kitagawa, T. Takada, T. Yoshizawa, "Measuring Performance of MQTT v5.0 Brokers with MQTTLoader", IEEE Consumer Communications & Networking Conference (CCNC), January 2021. (Demo paper)
## MQTT version. You can specify "3" for MQTT v3.1.1 and "5" for MQTT v5.0.
16
+
## DEFAULT: 5
17
+
mqtt_version = 5
18
+
19
+
## The number of publishers and subscribers.
20
+
## DEFAULT: 1
21
+
num_publishers = 1
22
+
num_subscribers = 1
23
+
24
+
## QoS level of publishers and subscribers. Valid values are 0/1/2.
25
+
## DEFAULT: 0
26
+
qos_publisher = 0
27
+
qos_subscriber = 0
28
+
29
+
## Flag for enabling shared subscription. You can specify "true" or "false".
30
+
## DEFAULT: false
31
+
shared_subscription = false
32
+
33
+
## Flag for enabling retained messages. You can specify "true" or "false".
34
+
## DEFAULT: false
35
+
retain = false
36
+
37
+
## Topic name to be used.
38
+
## DEFAULT: mqttloader-test-topic
39
+
topic = mqttloader-test-topic
40
+
41
+
## Payload size of publish messages in bytes. It must be equal to or larger than 8.
42
+
## DEFAULT: 20
43
+
payload = 20
44
+
45
+
## The number of messages sent by each publisher.
46
+
## DEFAULT: 100
47
+
num_messages = 100
48
+
49
+
## Ramp-up/down time in seconds.
50
+
## DEFAULT: 0
51
+
ramp_up = 0
52
+
ramp_down = 0
53
+
54
+
## Publish interval in milliseconds.
55
+
## DEFAULT: 0
56
+
interval = 0
57
+
58
+
## Timeout for receiving messages by subscribers in seconds.
59
+
## DEFAULT: 5
60
+
subscriber_timeout = 5
61
+
62
+
## The maximum execution time for measurement in seconds.
63
+
## DEFAULT: 60
64
+
exec_time = 60
65
+
66
+
## Log level. Valid values are SEVERE/WARNING/INFO/ALL.
67
+
## DEFAULT: INFO
68
+
log_level = INFO
69
+
70
+
## NTP server's IP address or FQDN.
71
+
## e.g., ntp.nict.jp
72
+
## DEFAULT: (not set)
73
+
# ntp = ntp.nict.jp
74
+
75
+
## Directory path to write out measurement record. If not set, MQTTLoader run by in-memory mode.
76
+
## e.g., /home/testuser
77
+
## e.g., C:\\Users\\testuser
78
+
## DEFAULT: (not set)
79
+
# output = .
80
+
81
+
## User name and password for password authentication.
82
+
## DEFAULT: (not set)
83
+
# user_name = john
84
+
# password = mypassword
85
+
86
+
## File path of truststore file in JKS (Java Key Store) format for TLS authentication. By specifying this parameter, TLS authentication is enabled.
87
+
## e.g., C:\\Users\\testuser\\truststore.jks
88
+
## DEFAULT: (not set)
89
+
# tls_truststore = truststore.jks
90
+
91
+
## Password for the truststore file.
92
+
## DEFAULT: (not set)
93
+
# tls_truststore_pass = mypassword
94
+
95
+
## File path of keystore file in JKS (Java Key Store) format for TLS client authentication. By specifying this parameter, TLS client authentication is enabled.
@@ -99,4 +81,53 @@ public String getDefaultValue() {
99
81
returndefaultValue;
100
82
}
101
83
}
84
+
85
+
publicenumProp {
86
+
BROKER("broker"),
87
+
BROKER_PORT("broker_port"), // Default value is configured not here but in Loader class, because it has different default values according to protocol.
0 commit comments