简体   繁体   中英

Azure Function App and IoT Hub Event hub

I have a Azure Function App which is bound as a trigger to Azure IoT Hub Event Hub.

As soon as any event is received by IoT Hub it triggers the Function App function and the message is received inside the Function App.

I want to re-raise the triggers for old events and want them on Function App right from the beginning. How can I refire the IoT Hub events so that the Function App can receive them from the beginning?

Thanks

You may create another consumer group for your EventHub and configure your Function's function.json to listen to that consumer group . This will allow your Function to read messages from the very beginning.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM