ESP32. MQTT. Broker. Publish. Subscribe. ThingSpeak

why port at hivemq not same with port at mit app?
if i write at hivemq, host : broker.hivemq.com. , at mit app must be broker: broker.hivemq.com . it right?

the topic at publish should be title that my project right?

https://www.hivemq.com/public-mqtt-broker/

please help me how to get updated data on mqtt server
Hello friend I'm studying the mqtt protocol
my project is to turn the room lights on and off with every button publish and subscribe
publish to send data values and subscribe to receive data but there is a problem when the application is disconnected with the subscriber data broker not being successfully updated
if anyone in the mqtt extension can request a request to the broker to update the missed data, I really need advice. thanks

I use the following extension
Ullis Roboter Seite/AI2 MQTT

@Moh_Khafil_A

You have posted the same on Kodular Community. Are you working with Kodular or App Inventor ?

sorry I just want to receive input and suggestions from different forums , because the two platforms are almost the same implementation . is this against the rules? thanks

You didn't answer my question...