Skip to content

Commit 348c4e3

Browse files
author
Matt Howlett
authored
Deemphasize Avro (#1643)
1 parent 72b95ec commit 348c4e3

File tree

2 files changed

+16
-19
lines changed

2 files changed

+16
-19
lines changed

README.md

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -219,25 +219,7 @@ to avoid stop-the-world rebalancing operations and unnecessary reloading of stat
219219
The three "Serdes" packages provide serializers and deserializers for Avro, Protobuf and JSON with [Confluent Schema Registry](https://docs.confluent.io/current/schema-registry/docs/index.html) integration. The `Confluent.SchemaRegistry` nuget package provides a client for interfacing with
220220
Schema Registry's REST API.
221221

222-
**Note:** All three serialization formats are supported across Confluent Platform. They each make different tradeoffs, and you should use the one that best matches to your requirements. Avro is well suited to the streaming data use-case, but the maturity of the non-Java implementations lags that of Java - this is an important consideration. Protobuf and JSON both have great support in .NET.
223-
224-
#### Avro
225-
226-
You can use the Avro serializer and deserializer with the `GenericRecord` class or with specific classes generated
227-
using the `avrogen` tool, available via Nuget (.NET Core 2.1 required):
228-
229-
```
230-
dotnet tool install --global Apache.Avro.Tools
231-
```
232-
233-
Usage:
234-
235-
```
236-
avrogen -s your_schema.avsc .
237-
```
238-
239-
For more information about working with Avro in .NET, refer to the the blog post [Decoupling Systems with Apache Kafka, Schema Registry and Avro](https://www.confluent.io/blog/decoupling-systems-with-apache-kafka-schema-registry-and-avro/)
240-
222+
**Note:** All three serialization formats are supported across Confluent Platform. They each make different tradeoffs, and you should use the one that best matches to your requirements. Avro is well suited to the streaming data use-case, but the **quality** and **maturity** of the non-Java implementations lags that of Java - this is an important consideration. Protobuf and JSON both have great support in .NET.
241223

242224
### Error Handling
243225

examples/AvroSpecific/README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#### Avro
2+
3+
You can generate the specific classes in this example using the `avrogen` tool, available via Nuget (.NET Core 2.1 required):
4+
5+
```
6+
dotnet tool install --global Apache.Avro.Tools
7+
```
8+
9+
Usage:
10+
11+
```
12+
avrogen -s User.avsc .
13+
```
14+
15+
For more information about working with Avro in .NET, refer to the the blog post [Decoupling Systems with Apache Kafka, Schema Registry and Avro](https://www.confluent.io/blog/decoupling-systems-with-apache-kafka-schema-registry-and-avro/)

0 commit comments

Comments
 (0)