I have a small doubt about using MQTT in my project. I just wanted to know if it is possible that I use RaspberryPi as MQTT broker (server) to receive data from a device which is publishing in MQTT and then at the same time this RaspberryPi publishes the same data in MQTT to another subscriber? If it is possible, then what would be the message broker in the second part? I mean, I want the RaspberryPi to be the device controller(to act on the device data) and at the same time to publish the data to another MQTT subscriber. Is this possible?
Thank you so much, Pouya