azure-iot-explorer
azure-iot-explorer copied to clipboard
Telemetry from device that has NOT been selected.
Describe the bug Start Telemetry from a device (in my case GFSDev002), and I'm getting telemetry from device GFSDev001.
To Reproduce
Each device has its own connection string.
Expected behavior Starting telemetry for GFSDev002, should only show Telemetry sent by GFSDev002.
Screenshots
Desktop (please complete the following information):
- OS: Windows 10
- OS Version: 10
- App version: alpha
Additional context I'm thinking the IOT Explorer is subscribing to the Consumer Group, rather than the device? If so, then the title is confusing as it clearly states it Telemetry from GFSDev002.
I've had this happening to me as well. Steps to reproduce:
- Listen to device A's Telemetry
- Instead of pressing "Stop", return to the "Devices" list
- Start listening to device B's Telemetry
Result: device A's telemetry is shown in between device B's telemetry.
Suspect: Forgot to unsubscribe from telemetry after navigating away from a device's telemetry page?
Workaround: Always remember to press "Stop" before returning to the devices list for now
Seen this happen many times, but didn't realize the sequence of events to cause it. This is definitely a bug!
same here
Event hub does not support filtering on device. Yes we can only subscribe to the Consumer Group like @codeputer you've pointed out. We do unsubscribe when the component unmount (when the page closes), but there will be a lag. As long as the telemetry won't keep showing after about 10s, we will not able to fix this issue due the constraints we face.