Kafka Avro message decoder
Decode a Confluent Schema Registry Kafka message: magic byte, schema id or GUID, and the Avro payload as JSON.
Loading AvroConvert 4.0.0-preview.2 (WebAssembly, about 3 MB, cached after the first visit)…
Hex or base64. kcat: kcat -C -t orders -o -1 -c 1 -f '%s' | xxd -p
From the registry: curl $SCHEMA_REGISTRY/schemas/ids/<id> (the schema field). Without a schema only the header is decoded.
- Magic byte
- –
- Schema id
- –
- Avro payload
- –
Your data stays here
AvroConvert runs inside this page as WebAssembly. Schemas, files and messages are processed in your browser and never uploaded. Shared links keep their content after the #, which browsers do not send to servers.
The same code as the library
These tools call the AvroConvert 4.0.0-preview.2 NuGet package, so what you see here is what your .NET service will do.
dotnet add package AvroConvert dotnet add package SolTechnology.Avro.Kafka
consumer.SetAvroValueDeserializer(schemaRegistry); Avro in production .NET
Free for individuals, open source and companies under 100 people and USD 1M revenue. Larger companies use a per-organisation licence with unlimited developers.