@InterfaceStability.Unstable public class ReflectionAvroDeserializer<T> extends Object implements org.apache.kafka.common.serialization.Deserializer<T>
This deserializer assumes that the serialized data was written in the wire format defined at
http://docs.confluent.io/current/schema-registry/docs/serializer-formatter.html#wire-format. It
requires access to a Confluent Schema Registry endpoint, which you must configure(Map, boolean) via the parameter "schema.registry.url".
See ReflectionAvroSerializer for its serializer counterpart.
| Constructor and Description |
|---|
ReflectionAvroDeserializer() |
ReflectionAvroDeserializer(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
configure(Map<String,?> deserializerConfig,
boolean isDeserializerForRecordKeys) |
T |
deserialize(String topic,
byte[] bytes) |
T |
deserialize(String topic,
org.apache.kafka.common.header.Headers headers,
byte[] bytes) |
public void configure(Map<String,?> deserializerConfig, boolean isDeserializerForRecordKeys)
configure in interface org.apache.kafka.common.serialization.Deserializer<T>public T deserialize(String topic, byte[] bytes)
deserialize in interface org.apache.kafka.common.serialization.Deserializer<T>public T deserialize(String topic, org.apache.kafka.common.header.Headers headers, byte[] bytes)
deserialize in interface org.apache.kafka.common.serialization.Deserializer<T>public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.kafka.common.serialization.Deserializer<T>Copyright © 2026 Confluent, Inc.. All rights reserved.