org.springframework.integration.kafka.serializer.avro
Class AvroSpecificDatumBackedKafkaDecoder<T>

java.lang.Object
  extended by org.springframework.integration.kafka.serializer.avro.AvroDatumSupport<T>
      extended by org.springframework.integration.kafka.serializer.avro.AvroSpecificDatumBackedKafkaDecoder<T>
All Implemented Interfaces:
kafka.serializer.Decoder<T>

public class AvroSpecificDatumBackedKafkaDecoder<T>
extends AvroDatumSupport<T>
implements kafka.serializer.Decoder<T>

Since:
0.5

Constructor Summary
AvroSpecificDatumBackedKafkaDecoder(java.lang.Class<T> specificRecordBase)
           
 
Method Summary
 T fromBytes(byte[] bytes)
           
 
Methods inherited from class org.springframework.integration.kafka.serializer.avro.AvroDatumSupport
fromBytes, toBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroSpecificDatumBackedKafkaDecoder

public AvroSpecificDatumBackedKafkaDecoder(java.lang.Class<T> specificRecordBase)
Method Detail

fromBytes

public T fromBytes(byte[] bytes)
Specified by:
fromBytes in interface kafka.serializer.Decoder<T>