deserialize

fun deserialize(topic: String, payload: ByteArray): Any(source)

Deserializes the Confluent Avro wire-format payload received from topic. The returned value is a SpecificRecord subclass when one is on the classpath, otherwise a GenericRecord.