Deleting an Event Mesh

You can delete an event mesh. Deleting an event mesh does not impact the services on the nodes; it simply removes the connectivity (or links) between each event broker service. This means that publishing and subscribing applications must be connected to the event broker service to exchange events and data.

To delete an event mesh, you require the Mesh Manager Editor role assigned to your user profile. For more information about the role requirements, see Considerations for Working with Event Meshes in PubSub+ Cloud.

There are multiple ways to delete an event mesh that include using either Mesh Manager (recommended) or Cluster Manager. If you want to delete using Cluster Manager, you also the require Cluster Manager Editor role.

Before you delete an event mesh, we recommend that you review the considerations when you work with event meshes. For this information, see Considerations for Working with Event Meshes in PubSub+ Cloud.

Deleting a Mesh using Mesh Manager

You can delete an event mesh. When you do this, the event broker services themselves are neither delete nor is service impacted on the individual event broker service. The impact you have is that events won't be routed between event broker services, which may impact subscribing applications that are trying to get events from publishers that aren't connected to the event broker service.

To delete an event mesh, perform the following steps:

  1. Log in to the PubSub+ Cloud Console if you have not done so yet.

  2. Select Mesh Manager from the navigation bar.
  3. On the Mesh Manager: Event Meshes page, on the card for the event mesh to delete, click Mesh Actions, and then select Delete.
  4. On the Delete Event Mesh dialog, click Delete to confirm that you want to remove event mesh; otherwise click Cancel.

Your event mesh is deleted and may take a few minutes to complete. You can also see the progress of updating your event mesh at any time. For more information, see Checking the Progress of an Event Mesh. You can also rescan for event meshes to refresh the list on the Mesh Manager: Event Meshes page.

Deleting an Event Mesh from Cluster Manager

Deleting an event mesh using Cluster Manager involves deleting the event broker service and is useful if you want to remove the event broker service at the same time as you remove the event mesh.

Here's what you need to know about deleting an event broker service to delete your event mesh:

  • An event mesh is deleted only if the event broker service that you're deleting is the second last one. If you're not deleting the second last event broker service in your mesh, you're deleting a service from the event mesh and the event mesh remains valid. For more information, see Deleting an Event Broker Service.
  • Any clients connected to the event broker service that you're deleting will be impacted
  • If applications connected to the remaining event broker service depend on messages that were connected to the deleted event broker service, those applications are also impacted. For example, If you have queued messages on the deleted event broker service that haven't been forwarded to the remaining broker, they potentially could be lost.

To do this, follow these steps:

  1. Log in to the PubSub+ Cloud Console if you have not done so yet.

  2. Select Cluster Manager from the navigation bar.
  3. On the Service page, find the card that matches your service and click Actions and select Delete Service.

    Ensure that the event broker service belongs to the event mesh that you want to delete. You can see that an event broker service belongs to an event mesh because the name of the mesh appears when you hover over the Mesh Name on a card, you can see the name of the mesh for which that service belongs.

  4. In the Deleting This Service Will Affect Event an Event Mesh dialog, click Delete Service to confirm; otherwise click Cancel.

The event mesh is deleted only if the event broker service you deleted was the second last service. The deletion of the event mesh may take several minutes. You can also see the progress of deleting your event mesh at any time. For more information, see Checking the Progress of an Event Mesh.