Hello @A Arockia Jabamalai Eldsin ,
thanks for visiting our moderated community forum.
The Azure IoT Hub is a cloud gateway for ingesting IoT Device telemetry.
The IoT Hub comes with impressive features like device registration (each device has its own identity), tagging of metadata, rule bases message routing, message enrichment, and even cloud-to-device communication using synchronous direct methods or asynchronous desired properties in the device twin.
The IoT Hub supports MQTT as a transport protocol (next to AMQP and HTTP) but it's not an MQTT broker. Topics are hidden from the actual message pass-through.
So, if you want to use the IoT Hub for distributing messages between devices, you need to add custom logic (like an Azure Function) and listen for incoming messages (there is an Azure Function IoT Hub trigger) and in the logic, you send a cloud message, set a desired property or try to call a direct method on the target devices of your choice.
If you are looking for full MQTT Broker functionality in the Azure cloud, check out the Event Grid MQTT support which is now in public preview.
Control your MQTT clients using the request-response (one-to-one) messaging pattern. This pattern enables any client to communicate with any other client without restrictions, regardless of the clients' roles. Broadcast alerts to a fleet of clients using the one-to-many messaging pattern. This pattern enables the application to publish only one message that the service replicates for every interested client.
This new service seems to meet your requirements.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.