Build<T>
method
Builds a deserializer for a specific schema.
Signature | public System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (int id, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
|
---|
Type parameters
T
The type to be deserialized.
Parameters
The ID of the schema that should be used to deserialize data.
The behavior of the deserializer on tombstone records.
Return type
A
IDeserializer<>
based on the schema with ID .
Builds a deserializer for a specific schema.
Signature | public System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (string subject, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
|
---|
Type parameters
T
The type to be deserialized.
Parameters
The subject of the schema that should be used to deserialize data. The latest version
of the subject will be resolved.
The behavior of the deserializer on tombstone records.
Return type
A
IDeserializer<>
based on the latest schema of subject
.
Builds a deserializer for a specific schema.
Signature | public System.Threading.Tasks.Task<Confluent.Kafka.IDeserializer<T>> Build<T> (string subject, int version, Chr.Avro.Confluent.TombstoneBehavior tombstoneBehavior = Chr.Avro.Confluent.TombstoneBehavior.None);
|
---|
Type parameters
T
The type to be deserialized.
Parameters
The subject of the schema that should be used to deserialize data.
int
version
The version of the subject to be resolved.
The behavior of the deserializer on tombstone records.
Return type
A
IDeserializer<>
based on the schema of subject
with version .