Create and manage business events in Fabric Real-Time hub

This article shows you how to create and manage business events in Microsoft Fabric Real-Time hub. Business events are custom events that you can define, publish, and consume within the Microsoft Fabric ecosystem. By creating business events, you can enable event-driven automation and integration scenarios across your data estate. For more information about business events, see Business events in Microsoft Fabric.

Important

This feature is in preview.

Create a business event from a new schema

  1. Go to Business events in Real-Time hub.

  2. Select + New business event and then select Create new schema.

    Screenshot of the Business events page with + New Business event selected.

  3. Define the business event schema.

    1. For Name, enter OrderPlaced.

    2. In the right pane, for Event schema set, select Create.

      Screenshot of the Define business event page.

    3. Enter Orders for the schema set name.

      Screenshot of the name of the event schema set.

    4. Select Add row in the middle plane.

      Screenshot of the selection of the Add row button.

    5. Select string for event type, and enter OrderID for the name.

      Screenshot of the configuration of the business event property.

    6. Repeat the previous step to add the following properties: CustomerID (string), Quantity (string), OrderTotal (string), Status (string), DiscountApplied (string).

      Screenshot of the business event schema properties configuration.

    7. Select Next to continue.

  4. Review and confirm the configuration, and then select Create to create your business event.

    Screenshot of the review and confirm page for creating a business event.

  5. Confirm that you see the business event in the list of business events in Real-Time hub.

    Screenshot of the list of business events in Real-Time hub.

Create a business event from an existing schema

  1. Go to Business events in Real-Time hub.

  2. Select + New business event and then select Create from existing schema.

    Screenshot of the selection of New business event -> Create from existing schema menu.

  3. On the Choose existing schema page, select the existing schema that you want to use for your business event. Use schemas that are already registered in the Schema Registry. After selecting the schema, select Next.

    Screenshot of the Choose existing schema page.

  4. On the Define business event page, confirm that the schema details are correct, enter a name for your business event, and then select Next.

    Screenshot of the Define business event page with an existing schema.

  5. On the Review and create page, review the configuration, and then select Create to create your business event.

    Screenshot of the Review and create page for creating a business event from an existing schema.

    After you create your business event, you can manage its properties, assign roles and permissions, and monitor its usage from the Real-Time hub.

Manage business event schema in Real-Time hub

To manage a business event from the Real-Time hub, follow these steps:

  1. Hover the mouse over the business event you want to manage, select the ellipsis (...) menu, and then select Manage event schema.

    Screenshot of the Business events page with Manage event schema menu for a business event.

  2. To update the schema as your business requirements change, follow steps from Update an event schema .

Manage business event schema in Schema Registry

In addition to the Real-Time hub, you can also manage business events through the Schema Registry. The Schema Registry acts as a centralized repository for all schemas used across your events and pipelines.

In the Schema Registry, you can create new schemas, update existing ones, and deprecate outdated definitions. Changes in the registry are reflected across all associated business events, making it easy to maintain consistency and compliance across your data ecosystem.

For more information about how to manage schemas in the Schema Registry, see Manage event schemas in Schema Registry.

Delete a business event

  1. Go to Real-Time hub.

  2. Select Business events under the Subscribe to category.

  3. Hover the mouse over the business event you want to delete, select the ellipsis (...) menu, and then select Delete.

    Screenshot of the Business events page with Delete menu for a business event.

  4. On the Delete business event confirmation dialog, select Delete to confirm the deletion.

    Screenshot of the Delete business event confirmation dialog.

You can also delete a business event from the Details page for the business event.

  1. In the Business events page of Real-Time hub, select the business event from the list to go to the Details page.

  2. Select Delete on the ribbon at the top of the Details page.

    Screenshot of the Details page for a business event with Delete button selected.

  3. Confirm the deletion on the confirmation dialog by selecting Delete.

    Screenshot of the Delete business event confirmation dialog.

See the following end-to-end tutorials: