IoTHub with Stream Analytics and Service bus routing

KK 191 Reputation points
2021-10-24T15:15:03.69+00:00

Hi team,

Could we have both Stream analytics attached and Service bus as routing at the same time? I see whenever routing got setup, the stream analytics would stop receiving inputs.

Thanks.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,129 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde 29,286 Reputation points MVP
    2021-10-24T22:02:10.467+00:00

    Hello @KunLi-4284 ,

    it seems you are combining both output mechanisms for IoTHub with Azure Stream Analytics (built-in endpoint) and Service Bus (Routing to a custom endpoint).

    Check out the comments:

    143212-image.png

    When you add your first route, the default endpoint is not getting any messages anymore because it overrules by the routing.

    You can easily restore the behavior of the default endpoint (sending messages to Azure Stream Analytics) by adding this extra route to 'events':

    143090-image.png

    See also the documentation.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful