Skip to content

Commit 6be38ba

Browse files
Freshness, including screenshots.
1 parent 5e85134 commit 6be38ba

File tree

6 files changed

+48
-34
lines changed

6 files changed

+48
-34
lines changed
Lines changed: 48 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Create an Azure Event Hubs Schema Registry
2+
title: 'Quickstart: Create an Azure Event Hubs Schema Registry'
33
description: Azure Schema Registry provides a central repository for schemas for event-driven and messaging-centric apps. Learn how to create a schema registry.
44
ms.topic: quickstart
55
ms.date: 06/16/2025
@@ -10,46 +10,55 @@ ms.custom: references_regions, mode-other
1010

1111
# Quickstart: Create an Azure Event Hubs schema registry using Azure portal
1212

13-
**Azure Schema Registry** is a feature of Event Hubs, which provides a central repository for schemas for event-driven and messaging-centric applications. It provides the flexibility for your producer and consumer applications to **exchange data without having to manage and share the schema**. It also provides a simple governance framework for reusable schemas and defines relationship between schemas through a grouping construct (schema groups). For more information, see [Azure Schema Registry in Event Hubs](schema-registry-overview.md).
13+
In this quickstart, you create a schema group with schemas in a schema registry hosted by Azure Event Hubs.
14+
15+
**Azure Schema Registry** is a feature of Event Hubs. It provides a central repository for schemas for event-driven and messaging-centric applications. It provides the flexibility for your producer and consumer applications to *exchange data without having to manage and share the schema*. It also provides a simple governance framework for reusable schemas and defines relationship between schemas through a grouping construct (schema groups). For more information, see [Azure Schema Registry in Event Hubs](schema-registry-overview.md).
1416

15-
This article shows you how to create a schema group with schemas in a schema registry hosted by Azure Event Hubs.
1617

1718
> [!NOTE]
18-
> - The feature isn't available in the **basic** tier.
19+
> - The feature isn't available in the **Basic** tier.
1920
> - Make sure that you're a member of one of these roles: **Owner**, **Contributor**, or **Schema Registry Contributor**. For more information, see [Azure role-based access control](schema-registry-concepts.md#azure-role-based-access-control).
20-
> - If the event hub is in a **virtual network**, you can't create schemas in the Azure portal unless you access the portal from a virtual machine in the same virtual network.
21-
21+
> - If the event hub is in a *virtual network*, you can't create schemas in the Azure portal unless you access the portal from a virtual machine in the same virtual network.
2222
2323
## Prerequisites
24+
2425
[Create an Event Hubs namespace](event-hubs-create.md#create-an-event-hubs-namespace). You can also use an existing namespace.
2526

2627
## Create a schema group
27-
1. Navigate to the **Event Hubs Namespace** page.
28-
1. Select **Schema Registry** on the left menu. To create a schema group, select **+ Schema Group** on the toolbar.
2928

30-
:::image type="content" source="./media/create-schema-registry/namespace-page.png" alt-text="Image showing the Schema Registry page in the Azure portal":::
29+
1. Navigate to the **Event Hubs Namespace** page.
30+
1. In the left menu, expand **Entities** and select **Schema Registry**.
31+
1. To create a schema group, select **+ Schema Group**.
32+
33+
:::image type="content" source="./media/create-schema-registry/namespace-page.png" alt-text="Screenshot showing the Schema Registry page in the Azure portal" lightbox="./media/create-schema-registry/namespace-page.png":::
34+
3135
1. On the **Create Schema Group** page, do these steps:
32-
1. Enter a **name** for the schema group.
33-
1. For **Serialization type**, select **Avro** serialization format that applies to all schemas in the schema group. **JSON** serialization format is also supported (preview).
34-
3. Select a **compatibility mode** for all schemas in the group. For **Avro**, forward and backward compatibility modes are supported.
35-
4. Then, select **Create** to create the schema group.
36-
37-
:::image type="content" source="./media/create-schema-registry/create-schema-group-page.png" alt-text="Image showing the page for creating a schema group":::
38-
1. Select the name of the **schema group** in the list of schema groups.
3936

40-
:::image type="content" source="./media/create-schema-registry/select-schema-group.png" alt-text="Image showing schema group in the list selected.":::
37+
1. Enter a **name** for the schema group.
38+
1. For **Serialization type**, select **Avro** serialization format. This format applies to all schemas in the schema group. **JSON** serialization format is also supported (preview).
39+
1. Select a **compatibility mode** for all schemas in the group. For **Avro**, forward and backward compatibility modes are supported.
40+
1. Select **Create** to create the schema group.
41+
42+
:::image type="content" source="./media/create-schema-registry/create-schema-group-page.png" alt-text="Screenshot showing the page for creating a schema group.":::
43+
44+
1. Select the name of the schema group in the list of schema groups.
45+
46+
:::image type="content" source="./media/create-schema-registry/select-schema-group.png" alt-text="Screenshot showing schema group in the list selected." lightbox="./media/create-schema-registry/select-schema-group.png":::
47+
4148
1. You see the **Schema Group** page for the group.
4249

43-
:::image type="content" source="./media/create-schema-registry/schema-group-page.png" alt-text="Image showing the Schema Group page":::
44-
50+
:::image type="content" source="./media/create-schema-registry/schema-group-page.png" alt-text="Screenshot showing the Schema Group page." lightbox="./media/create-schema-registry/schema-group-page.png":::
51+
4552

4653
## Add a schema to the schema group
54+
4755
In this section, you add a schema to the schema group using the Azure portal.
4856

4957
1. On the **Schema Group** page, select **+ Schema** on the toolbar.
5058
1. On the **Create Schema** page, do these steps:
59+
5160
1. For **Name**, enter `orderschema`.
52-
1. Enter the following **schema** into the text box. You can also select file with the schema.
61+
1. Enter the following **schema** into the text box. You can instead select a file with the schema.
5362

5463
```json
5564
{
@@ -68,41 +77,46 @@ In this section, you add a schema to the schema group using the Azure portal.
6877
]
6978
}
7079
```
71-
1. Select **Create**.
80+
1. Select **Create**.
81+
7282
1. Select the **schema** from the list of schemas.
7383

74-
:::image type="content" source="./media/create-schema-registry/select-schema.png" alt-text="Image showing the schema selected.":::
84+
:::image type="content" source="./media/create-schema-registry/select-schema.png" alt-text="Screenshot showing the schema selected.":::
85+
7586
1. You see the **Schema Overview** page for the schema.
7687

77-
:::image type="content" source="./media/create-schema-registry/schema-overview-page.png" alt-text="Image showing the Schema Overview page.":::
78-
1. If there are multiple versions of a schema, you see them in the **Versions** drop-down list. Select a version to switch to that version schema.
88+
:::image type="content" source="./media/create-schema-registry/schema-overview-page.png" alt-text="Image showing the Schema Overview page.":::
89+
90+
1. If there are multiple versions of a schema, you see them in the **Versions**. Select a version to switch to that version schema.
7991

8092
## Create a new version of schema
8193

82-
1. Update the schema in the text box, and select **Validate**. In the following example, a new field `description` has been added to the schema.
94+
1. Update the schema in the text box, and select **Validate**. In the following example, you add a new field called `description` to the schema.
95+
96+
:::image type="content" source="./media/create-schema-registry/update-schema.png" alt-text="Image showing the Update schema page":::
8397

84-
:::image type="content" source="./media/create-schema-registry/update-schema.png" alt-text="Image showing the Update schema page":::
85-
8698
1. Review validation status and changes, and select **Save**.
8799

88-
:::image type="content" source="./media/create-schema-registry/compare-save-schema.png" alt-text="Image showing the Review page that shows validation status, changes, and save":::
89-
1. You see that `2` is selected for the **version** on the **Schema Overview** page.
100+
:::image type="content" source="./media/create-schema-registry/compare-save-schema.png" alt-text="Image showing the Review page that shows validation status, changes, and save":::
101+
102+
You see that `2` is selected for the **version** on the **Schema Overview** page.
103+
104+
:::image type="content" source="./media/create-schema-registry/new-version.png" alt-text="Image showing the new version of schema":::
90105

91-
:::image type="content" source="./media/create-schema-registry/new-version.png" alt-text="Image showing the new version of schema":::
92106
1. Select `1` to see the version 1 of the schema.
93107

94108
## Clean up resources
95109

96110
> [!NOTE]
97-
> Don't clean up resources if you want to continue to the next quick start linked from **Next steps**.
111+
> Don't clean up resources if you want to continue to the next quickstart linked from **Next step**.
98112

99-
1. Navigate to the **Event Hubs Namespace** page.
113+
1. Navigate to the **Event Hubs Namespace** page.
100114
1. Select **Schema Registry** on the left menu.
101-
1. Select the **schema group** you created in this quickstart.
115+
1. Select the **schema group** you created in this quickstart.
102116
1. On the **Schema Group** page, select **Delete** on the toolbar.
103117
1. On the **Delete Schema Group** page, type the name of the schema group, and select **Delete**.
104118

105-
## Next steps
119+
## Next step
106120

107121
> [!div class="nextstepaction"]
108122
> [Validate schema when sending and receiving events - AMQP and .NET](schema-registry-dotnet-send-receive-quickstart.md).
-15.3 KB
Loading
-21.5 KB
Loading
-11.3 KB
Loading
-5.42 KB
Loading
-17.7 KB
Loading

0 commit comments

Comments
 (0)