Search code examples
azure-eventhub

How to stop Azure Event Hubs service?


Is there an ability to stop/start Azure Event Hubs service manually? The primary goal is to stress test our services under the condition of Event Hubs service being down, but one can obviously think of other use cases.


Solution

  • Couple of options for testing error cases.

    1. Block network connection by firewall rules. This is a good way to simulate a service-down incident case.

    2. You can disable eventhub and re-enable it back. enter image description here