2

How to increase the inflight message count in mosquitto broker so that client can publish n number of messages to be saved in the broker?

Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
user3056216
  • 89
  • 3
  • 8

1 Answers1

2

You can set the max_inflight_messages in the mosquitto.conf file.

http://mosquitto.org/man/mosquitto-conf-5.html

hardillb
  • 54,545
  • 11
  • 67
  • 105
  • sorry i am new to mqtt. but is not that similar "retain" the messages on the broker? – Amrmsmb Nov 14 '14 at 15:02
  • 1
    retained is different. Retained just means the last retained message on a topic will be delivered at the point of subscription no matter what else may be queued for delivery (due to previous subscription and disconnect or QOS level). See the Retained section of the Mosquitto man page for details: http://mosquitto.org/man/mqtt-7.html – hardillb Nov 14 '14 at 15:06