Skip to content

Commit 1ce81ad

Browse files
committed
two-schema-registry-articles
1 parent e04cd70 commit 1ce81ad

File tree

2 files changed

+19
-17
lines changed

2 files changed

+19
-17
lines changed

articles/event-hubs/schema-registry-client-side-enforcement.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ ms.author: spelluru
99

1010
# Client-side schema enforcement
1111

12+
Client-side schema enforcement ensures that data is validated against schemas defined in the schema registry on the client side rather than the broker/server side. The producer application can use schemas to validate and serialize data before sending the data to an event hub. Similarly, a consumer application can deserialize and validate data after it receives events from an event hub.
13+
1214
Client-side schema enforcement ensures that data is validated on the client side. The producer application sends the data and the consumer application receives it. That data is validated against schemas defined in the schema registry on the client side rather than the broker/server side.
1315

1416
This diagram illustrates the flow:

articles/event-hubs/schema-registry-concepts.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Azure Schema Registry Concepts
3-
description: This article explains concepts for using Azure schema registries in Azure Event Hubs.
3+
description: This article explains concepts for using Azure Schema Registry in Azure Event Hubs.
44
ms.topic: conceptual
55
ms.date: 04/26/2023
66
author: spelluru
@@ -9,17 +9,17 @@ ms.author: spelluru
99

1010
# Schema registry concepts in Azure Event Hubs
1111

12-
Schema registries in Azure Event Hubs have many benefits. They help maintain data consistency, simplify schema evolution, enhance interoperability, and reduce development effort in loosely coupled and event-streaming workflows. Large distributed organizations that employ a centralized repository for schemas can use schema registries to achieve highly reliable data processing and governance with little operational overhead.
12+
Schema Registry in Azure Event Hubs has many benefits. Schema Registry helps maintain data consistency, simplify schema evolution, enhance interoperability, and reduce development effort in loosely coupled and event-streaming workflows. Large distributed organizations that employ a centralized repository for schemas can use Schema Registry to achieve highly reliable data processing and governance with little operational overhead.
1313

14-
Azure Event Hubs schema registries fulfill many roles in schema-driven event-streaming scenarios:
14+
Azure Event Hubs Schema Registry fulfills many roles in schema-driven event-streaming scenarios:
1515

16-
* They provide a repository where multiple schemas can be registered, managed, and evolved.
17-
* They manage schema evolution with multiple compatibility rules.
18-
* They perform data validation for all schematized data.
19-
* They provide client-side libraries (serializers and deserializers) for producers and consumers.
20-
* They improve network throughput efficiency by passing the schema ID instead of the schema definition for every payload.
16+
* Provides a repository where multiple schemas can be registered, managed, and evolved
17+
* Manages schema evolution with multiple compatibility rules
18+
* Performs data validation for all schematized data
19+
* Provides client-side libraries (serializers and deserializers) for producers and consumers
20+
* Improves network throughput efficiency by passing the schema ID instead of the schema definition for every payload
2121

22-
Azure Event Hubs schema registries are supported on Standard, Premium, and Dedicated tiers.
22+
Azure Event Hubs Schema Registry is supported on Standard, Premium, and Dedicated tiers.
2323

2424
## Schema registry components
2525

@@ -37,7 +37,7 @@ A schema definition includes:
3737
* Data types: The type of data that can be stored, like string, date-time, or array.
3838
* Structure: How the fields are organized, like nested structures or arrays.
3939

40-
Schemas define the contract between producers and consumers. A schema defined in an Event Hubs schema registry helps manage the contract outside event data, which removes the payload overhead.
40+
Schemas define the contract between producers and consumers. A schema defined in an Event Hubs Schema Registry helps manage the contract outside event data, which removes the payload overhead.
4141

4242
#### Schema formats
4343

@@ -49,8 +49,8 @@ Schema formats are used to determine the manner in which a schema is structured
4949

5050
To learn more about using Avro schema format with an Event Hubs schema registry, see:
5151

52-
* [How to use a schema registry with Kafka and Avro](schema-registry-kafka-java-send-receive-quickstart.md)
53-
* [How to use a schema registry with Event Hubs, .NET, an SDK (Advanced Message Queuing Protocol or AMQP), and Avro.](schema-registry-dotnet-send-receive-quickstart.md)
52+
* [How to use Schema Registry with Kafka and Avro](schema-registry-kafka-java-send-receive-quickstart.md)
53+
* [How to use Schema Registry with Event Hubs, .NET, an SDK (Advanced Message Queuing Protocol or AMQP), and Avro.](schema-registry-dotnet-send-receive-quickstart.md)
5454

5555
##### JSON schema
5656

@@ -74,11 +74,11 @@ You can think of a schema group as a subset of the schema registry that aligns w
7474

7575
## Schema evolution
7676

77-
Schemas need to evolve with the business requirement of producers and consumers. Azure schema registries support schema evolution by introducing compatibility modes at the schema group level. When you create a schema group, you can specify the compatibility mode of the schemas that you include in that schema group. When you update a schema, the change needs to comply with the assigned compatibility mode so that it can create a new version of the schema.
77+
Schemas need to evolve with the business requirement of producers and consumers. Azure Schema Registry supports schema evolution by introducing compatibility modes at the schema group level. When you create a schema group, you can specify the compatibility mode of the schemas that you include in that schema group. When you update a schema, the change needs to comply with the assigned compatibility mode so that it can create a new version of the schema.
7878

7979
Schema evolution is supported for Avro schema format only.
8080

81-
Azure Event Hubs schema registries are supported in the following compatibility modes.
81+
Azure Event Hubs Schema Registry is supported in the following compatibility modes.
8282

8383
### Backward compatibility
8484

@@ -96,7 +96,7 @@ Forward compatibility allows the consumer code to use an old schema version and
9696

9797
### No compatibility
9898

99-
When the ``None`` compatibility mode is used, the schema registry doesn't do any compatibility checks when you update schemas.
99+
When the ``None`` compatibility mode is used, Schema Registry doesn't do any compatibility checks when you update schemas.
100100

101101
## Client SDKs
102102

@@ -106,7 +106,7 @@ You can use one of the following libraries to include an Avro serializer. You ca
106106
* **Java**: [azure-data-schemaregistry-avro](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/schemaregistry/azure-data-schemaregistry-apacheavro)
107107
* **Python**: [azure-schemaregistry-avroserializer](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/schemaregistry/azure-schemaregistry-avroencoder/)
108108
* **JavaScript**: [@azure/schema-registry-avro](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro)
109-
* **Apache Kafka**: Run [Kafka-integrated Avro](https://github.com/Azure/azure-schema-registry-for-kafka/) serializers and deserializers backed by Azure schema registries. The Java client's Apache Kafka client serializer for Azure schema registries can be used in any Apache Kafka scenario and with any Apache Kafka-based deployment or cloud service.
109+
* **Apache Kafka**: Run [Kafka-integrated Avro](https://github.com/Azure/azure-schema-registry-for-kafka/) serializers and deserializers backed by Azure Schema Registry. The Java client's Apache Kafka client serializer for Azure Schema Registry can be used in any Apache Kafka scenario and with any Apache Kafka-based deployment or cloud service.
110110
* **Azure CLI**: For an example of adding a schema to a schema group by using the Azure CLI, see [Adding a schema to a schema group by using the Azure CLI](https://github.com/Azure/azure-event-hubs/tree/master/samples/Management/CLI/AddschematoSchemaGroups).
111111
* **PowerShell**: For an example of adding a schema to a schema group by using PowerShell, see [Adding a schema to a schema group by using PowerShell](https://github.com/Azure/azure-event-hubs/tree/master/samples/Management/PowerShell/AddingSchematoSchemagroups).
112112

@@ -138,4 +138,4 @@ To learn how to create and register an application by using the Azure portal, se
138138
* [Java](https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/schemaregistry/azure-data-schemaregistry-apacheavro/src/samples)
139139
* [JavaScript](https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/schemaregistry/schema-registry-avro/samples)
140140
* [Python](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/schemaregistry/azure-schemaregistry-avroencoder/samples)
141-
* [Kafka Avro Integration for Azure schema registries](https://github.com/Azure/azure-schema-registry-for-kafka/tree/master/csharp/avro/samples)
141+
* [Kafka Avro Integration for Azure Schema Registry](https://github.com/Azure/azure-schema-registry-for-kafka/tree/master/csharp/avro/samples)

0 commit comments

Comments
 (0)