0
votes

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

1

1 Answers

1
votes

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.