Build<T> method

Build(int, TombstoneBehavior)
Build(string, TombstoneBehavior)
Build(int, string, TombstoneBehavior)Builds a deserializer for the Confluent wire format.
Build(string, int, TombstoneBehavior)

Build(int, TombstoneBehavior)

Signature
public virtual System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (int id, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
BaseBuild(int, TombstoneBehavior)

Type parameters

T
To be added.

Parameters

int id
To be added.
TombstoneBehavior tombstoneBehavior
To be added.

Return type

Task<IDeserializer<T>>
To be added.

Exceptions

UnsupportedTypeException
Thrown when is incompatible with the retrieved schema.

Build(string, TombstoneBehavior)

Signature
public virtual System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (string subject, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
BaseBuild(string, TombstoneBehavior)

Type parameters

T
To be added.

Parameters

string subject
To be added.
TombstoneBehavior tombstoneBehavior
To be added.

Return type

Task<IDeserializer<T>>
To be added.

Exceptions

UnsupportedTypeException
Thrown when is incompatible with the retrieved schema.

Build(int, string, TombstoneBehavior)

Builds a deserializer for the Confluent wire format.
Signature
protected virtual Confluent.Kafka.IDeserializer<T> Build<T> (int id, string json, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior);

Type parameters

T
The type to be deserialized.

Parameters

int id
A schema ID that all payloads must be serialized with. If a received schema ID does not match this ID, InvalidEncodingException will be thrown.
string json
The schema to build the Avro deserializer from.
TombstoneBehavior tombstoneBehavior
The behavior of the deserializer on tombstone records.

Return type

IDeserializer<T>
A IDeserializer<> based on .

Build(string, int, TombstoneBehavior)

Signature
public virtual System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (string subject, int version, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
BaseBuild(string, int, TombstoneBehavior)

Type parameters

T
To be added.

Parameters

string subject
To be added.
int version
To be added.
TombstoneBehavior tombstoneBehavior
To be added.

Return type

Task<IDeserializer<T>>
To be added.

Exceptions

UnsupportedTypeException
Thrown when is incompatible with the retrieved schema.
Chr.Avro