简体   繁体   中英

Azure Functions with IoT Hub

I am asking myself whether it is a good idea to have an Azure Function consuming events directly from the EventHub compatible IoT Hub endpoint.

According to this answer Azure Functions use EventHubProcessorHost to consume the events. It also indicates that if a Function seems sluggish the scaling logic kicks in and creates more instances of a Function (eg per IoT Hub partition).

What is the trigger for the scaling logic? Number of unprocessed messages? Processing duration of a single message (would not be a good metric)?

Thanks

缩放逻辑查看EventHub的所有分区中剩余的未处理消息总数。

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