Multiple IOT HUB endpoints? Azure Functions and Stream Analytics

dominik kury 21 Reputation points
2021-08-02T09:53:17.85+00:00

Hi, everyone,

I receive sensor data from my device via my IOT HUB in order to forward it to PowerBI via Azure Stream Analytics. At the same time, the IOT HUB triggers a function in "Azure Functions" where the data is queried accordingly and also forwarded. However, as soon as I start the function (operation in Visual Studio), the data is no longer forwarded to PowerBI via Azure Stream Analytics. Is the simultaneous forwarding of the data from the IOT HUB not possible or do I have to make additional settings?

Greetings Dominik

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,323 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,128 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
331 questions
{count} votes

Accepted answer
  1. Sander van de Velde 29,271 Reputation points MVP
    2021-08-03T08:27:35.937+00:00

    Double-check the consumer groups:

    120131-image.png

    Each target service (Azure Functions, Azure Stream Analytics, or even the IoT Explorer) should use its own consumer group. So each gets a copy of an incoming message.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful