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
TypeNameDescription
Schemaschema

Schema to resolve named schemas for.

ISchemaRegistryClientschemaRegistryClient

SchemaRegistryClient to use for retrieval.

Returns
TypeDescription
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
TypeNameDescription
RuleContextctx
Schemaschema
objectmessage
IFieldTransformfieldTransform
Returns
TypeDescription
Task<object>
In this article