0

Azure IoT Hub relies heavily on consumer groups. We can easily add consumer groups and view them using Azure Portal.

enter image description here

Is there anyway to read my consumer groups using C# SDK?

Jawad Sabir
  • 167
  • 2
  • 12
  • Can you use the REST APIs? https://learn.microsoft.com/en-us/rest/api/iothub/iothubresource/geteventhubconsumergroup – Roman Kiss Jul 08 '19 at 10:27

1 Answers1

1

Yes there is. Take a look at this API: https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.management.iothub.iiothubresourceoperations.listeventhubconsumergroupswithhttpmessagesasync?view=azure-dotnet

If you look at the available operations here, you can create and delete consumer groups on the default endpoint as well.

Dominic Betts
  • 2,306
  • 1
  • 18
  • 10