public class EventStreamsDeserializer extends Object implements org.apache.kafka.common.serialization.Deserializer<org.apache.avro.generic.IndexedRecord>
IndexedRecord
objects, using
schemas retrieved from the schema registry.Constructor and Description |
---|
EventStreamsDeserializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs,
boolean isKey) |
org.apache.avro.generic.IndexedRecord |
deserialize(String topic,
byte[] data) |
org.apache.avro.generic.IndexedRecord |
deserialize(String topic,
org.apache.kafka.common.header.Headers headers,
byte[] data) |
public void configure(Map<String,?> configs, boolean isKey)
configure
in interface org.apache.kafka.common.serialization.Deserializer<org.apache.avro.generic.IndexedRecord>
public org.apache.avro.generic.IndexedRecord deserialize(String topic, byte[] data)
deserialize
in interface org.apache.kafka.common.serialization.Deserializer<org.apache.avro.generic.IndexedRecord>
public org.apache.avro.generic.IndexedRecord deserialize(String topic, org.apache.kafka.common.header.Headers headers, byte[] data)
deserialize
in interface org.apache.kafka.common.serialization.Deserializer<org.apache.avro.generic.IndexedRecord>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.kafka.common.serialization.Deserializer<org.apache.avro.generic.IndexedRecord>
Copyright © 2019. All rights reserved.