Search code examples
azureazure-cliazure-eventhub

Azure event hubs documentation seems to be conflicting with ms learning paths


I'm currently in the process of studying for the Microsoft certification AZ 204. Which includes working with Event hubs and I'm confused about the following problem.

In the learning docs it is stated that: 'The number of partitions is specified at the time an Event Hubs is created and can't be changed.'

However when exercising using the Microsoft provided practice exam I got this question wrong: practice exam question

After looking at the documentation for event hubs cli commands I see that it is possible to update the number of partitions with the following cli command 'az eventhubs eventhub update --partition-count'.

Is the learning doc outdated? Or am I missing something?


Solution

  • Microsoft confirmed that the learn doc is in error. Additional partitions can be added to an Event Hub, but only for the premium and dedicated tiers. More information: learn.microsoft.com/azure/event-hubs/dynamically-add-partitions