Event Grid mqtt topic filtering for Azure functions
Hi all,
I am using Event Grid as an MQTT broker to receive data from multiple MQTT devices, each publishing to unique topics (e.g., "Devices/DeviceType1/Device1", "Devices/DeviceType2/Device100"). I aim to dynamically route messages from a specific mqtt topic to a specific function, rather than having a single topic trigger all functions.
Currently, all functions subscribed to Event Grid are triggered when any message arrives in the event grid broker. Is it possible to implement topic-based filtering within Event Grid to direct messages from specific MQTT topics to their designated functions? If this is not achievable, is there any alternatives that could do this?
Thanks in advance for any help.