You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/event-hubs/schema-registry-client-side-enforcement.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ Client-side schema enforcement ensures that data is validated on the client side
13
13
14
14
This flow is illustrated as shown:
15
15
16
-
:::image type="content" source="./media/schema-registry-overview/information-flow.svg" alt-text="An image shows the schema registry information flow." border="false":::
16
+
:::image type="content" source="./media/schema-registry-overview/information-flow.svg" alt-text="A diagram outlines the schema registry information flow." border="false":::
17
17
18
18
> [!NOTE]
19
19
> The diagram showcases the information flow when event producers and consumers use a schema registry with the Kafka protocol and Avro schema. Other protocols and schema formats work in a similar way.
@@ -23,7 +23,7 @@ This flow is illustrated as shown:
23
23
24
24
1. The Kafka producer application uses `KafkaAvroSerializer` to serialize event data by using the specified schema. The producer application provides details of the schema registry endpoint and other optional parameters that are required for schema validation.
25
25
26
-
1. The serializer looks for the schema in the schema registry to serialize event data. If it finds the schema, then the corresponding schema ID is returned. You can configure the producer application to auto register the schema with the schema registry if it doesn't exist.
26
+
1. The serializer looks for the schema in the schema registry to serialize event data. If it finds the schema, then the corresponding schema ID is returned. You can configure the producer application to automatically register the schema with the schema registry if it doesn't exist.
27
27
28
28
1. The serializer prepends the schema ID to the serialized data that is published to the Event Hubs.
Copy file name to clipboardExpand all lines: articles/event-hubs/schema-registry-concepts.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ ms.author: spelluru
11
11
12
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.
13
13
14
-
Azure Event Hubs schema registries fulfill many roles in schema-driven, event-streaming scenarios.
14
+
Azure Event Hubs schema registries fulfill many roles in schema-driven, event-streaming scenarios:
15
15
16
16
* They provide a repository where multiple schemas can be registered, managed, and evolved
17
17
* They manage schema evolution with multiple compatibility rules
@@ -45,7 +45,7 @@ Schema formats are used to determine the manner in which a schema is structured
45
45
46
46
##### Avro schema
47
47
48
-
[Apache Avro:tm:](https://avro.apache.org/) is a popular data serialization system that uses a compact binary format and provides schema evolution capabilities.
48
+
[Apache Avro™](https://avro.apache.org/) is a popular data serialization system that uses a compact binary format and provides schema evolution capabilities.
49
49
50
50
To learn more about using Avro schema format with an Event Hubs schema registry, see:
51
51
@@ -58,7 +58,7 @@ To learn more about using Avro schema format with an Event Hubs schema registry,
58
58
59
59
To learn more about using the JSON schema format with an Event Hubs schema registry, see:
60
60
61
-
*[How to use a schema registry with Kafka and JSON Schema](schema-registry-json-schema-kafka.md)
61
+
*[How to use a schema registry with Kafka and JSON schema](schema-registry-json-schema-kafka.md)
62
62
63
63
##### Protocol Buffers
64
64
@@ -84,14 +84,14 @@ Azure Event Hubs schema registries are supported in the following compatibility
84
84
85
85
### Backward compatibility
86
86
87
-
Backward compatibility mode allows the consumer code to use a new version of a schema and process messages with an old version of the schema. Backward compatibility mode allows the following changes to be made on a schema.
87
+
Backward compatibility mode allows the consumer code to use a new version of a schema and process messages with an old version of the schema. Backward compatibility mode allows the following changes to be made on a schema:
88
88
89
89
* Delete fields
90
90
* Add optional fields
91
91
92
92
### Forward compatibility
93
93
94
-
Forward compatibility allows the consumer code to use an old schema version and read messages with the new schema. Forward compatibility mode allows the following changes to be made on a schema.
94
+
Forward compatibility allows the consumer code to use an old schema version and read messages with the new schema. Forward compatibility mode allows the following changes to be made on a schema:
95
95
96
96
* Add fields
97
97
* Delete optional fields
@@ -102,7 +102,7 @@ When the ``None`` compatibility mode is used, the schema registry doesn't do any
102
102
103
103
## Client SDKs
104
104
105
-
You can use one of the following libraries to include an Avro serializer. You can use Avro serializers to serialize and deserialize payloads containing schema registry schema identifiers and Avro-encoded data.
105
+
You can use one of the following libraries to include an Avro serializer. You can use Avro serializers to serialize and deserialize payloads containing schema registry schema identifiers and Avro-encoded data:
@@ -130,7 +130,7 @@ To access a schema registry programmatically, follow these steps:
130
130
|[Schema registry reader](../role-based-access-control/built-in-roles.md#schema-registry-reader-preview)| Read and list schema registry groups and schemas |
131
131
|[Schema registry contributor](../role-based-access-control/built-in-roles.md#schema-registry-reader-preview)| Read, write, and delete schema registry groups and schemas |
132
132
133
-
To learn how to create and register an application using the Azure portal, see [Register an app with Microsoft Entra ID](../active-directory/develop/quickstart-register-app.md). You need the client ID (application ID), tenant ID, and the secret to use in the code.
133
+
To learn how to create and register an application using the Azure portal, see [Register an application with Microsoft Entra ID](../active-directory/develop/quickstart-register-app.md). You need the client ID (application ID), tenant ID, and the secret to use in the code.
0 commit comments