This question was asked during the webinar titled “Ask Me Anything About MQTT” held on July 28. 2021 by Mohamad Rabbath.
Answer: You do not need to install a broker on a producer client to ensure no message is lost. You can develop this functionality as part of the producing client.