Coder Social home page Coder Social logo

Comments (3)

timlaverty avatar timlaverty commented on July 30, 2024

I suspect you have more than one reader on the stream already. Please read the following:

If you stop these receivers deviceexplorer should be able to read from your eventhub sitting behind the IoTHub.

Also, in the future please file DeviceExplorer bugs here: https://github.com/Azure/azure-iot-sdk-csharp/issues

This tool is a CSharp SDK tool: https://github.com/Azure/azure-iot-sdk-csharp/tree/master/tools/DeviceExplorer

from azure-iot-pcs-remote-monitoring-dotnet.

faister avatar faister commented on July 30, 2024

I got the same issue. While @timlaverty is right to say that this is due to having more than one reader on the stream, it is still an issue nevertheless and I reckon that this should be called out as an Improvement. At the very least would be helpful to explain in this repo's documentation about how to circumvent this issue. The Telemetry Agent is already reading off the IoT Hub EH compatible endpoint with the consumer group $Default. Hence what I did was I use Azure CLI to create another consumer group. These are the steps:

  1. az login
  2. az iot hub consumer-group create --hub-name "{IoTHubname}" --name {consumer group name}
  3. az iot hub consumer-group list --hub-name "{IoTHubname}"

You will see $Default and your new consumer group name. Then in your Device Explorer (Windows version), in the Data tab, click the Enable checkbox next to Consumer Group and enter your consumer group. You should be able to see the events streaming off IoT Hub for any of the simulated devices.

from azure-iot-pcs-remote-monitoring-dotnet.

timlaverty avatar timlaverty commented on July 30, 2024

@faister thanks for adding the instructions. What we plan to do in the future is create a separate group, leaving the default alone. This should eliminate the bulk of cases (though still could happen if folks put multiple readers on the other stream). @ppathan @hegate for FYI.

from azure-iot-pcs-remote-monitoring-dotnet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.