MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.25k stars 21.42k forks source link

Missing route #98989

Closed graafderk closed 2 years ago

graafderk commented 2 years ago

When following the guide, I could not get OPC messages to stream into IoT Hub. It seems to me a crucial step is missing, which I found in this post: https://www.linkedin.com/pulse/step-by-step-guide-installing-opc-publisher-azure-iot-kevin-hilscher/

When creating the OPCPublisher module, a route should also be created:

{
    "routes": {
        "route": "FROM /* INTO $upstream"
    }
}

After adding this, I can start seeing messages flowing into IoT Hub using az iot hub monitor-events -n <iot-hub-instance> -t 0


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

AshokPeddakotla-MSFT commented 2 years ago

@graafderk Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

baanders commented 2 years ago

reassign:baanders

baanders commented 2 years ago

Hi @graafderk, thank you for bringing this to our attention! Our expert on this subject confirmed that the route should be added.

I'm updating the document with this change (along with a few other clarity updates) in this pull request: https://github.com/MicrosoftDocs/azure-docs-pr/pull/213648. Since this PR implements your suggestion, I'm going to have GitHub automatically close this issue when the pull request is merged. However, feel free to continue the conversation here and we can reopen as needed. Thank you for taking the time to help us improve our docs!