Azure / azure-iot-cli-extension

Azure IoT extension for Azure CLI
Other
82 stars 65 forks source link

fix: ensure that partition ids are populated for `az iot hub monitor-events` #709

Closed vilit1 closed 1 week ago

vilit1 commented 1 month ago

in response to https://github.com/Azure/azure-iot-cli-extension/issues/706

use the amqpbuilder instead of hub. because the hub cannot be trusted if there are no partitions (via count), fail since something is very wrong with the hub if there is a partition count but no partition ids, manually assume the partition ids


This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Thank you for contributing to the IoT extension!

This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

Intent for Production

Basic expectations

Azure IoT CLI maintainers reserve the right to enforce any of the outlined expectations.

A PR is considered ready for review when all basic expectations have been met (or do not apply).