confluent-kafka-dotnet
Show / Hide Table of Contents

Class AvroUtils

Avro utilities

Inheritance
object
AvroUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Confluent.SchemaRegistry.Serdes
Assembly: Confluent.SchemaRegistry.Serdes.Avro.dll
Syntax
public static class AvroUtils

Methods

ResolveNamedSchema(Schema, ISchemaRegistryClient)

Resolves named schemas referenced by the provided schema recursively.

Declaration
public static Task<SchemaNames> ResolveNamedSchema(Schema schema, ISchemaRegistryClient schemaRegistryClient)
Parameters
Type Name Description
Schema schema

Schema to resolve named schemas for.

ISchemaRegistryClient schemaRegistryClient

SchemaRegistryClient to use for retrieval.

Returns
Type Description
Task<SchemaNames>

A SchemaNames object containing the resolved named schemas.

Transform(RuleContext, Schema, object, IFieldTransform)

Declaration
public static Task<object> Transform(RuleContext ctx, Schema schema, object message, IFieldTransform fieldTransform)
Parameters
Type Name Description
RuleContext ctx
Schema schema
object message
IFieldTransform fieldTransform
Returns
Type Description
Task<object>
In this article