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

java.lang.Object
  extended by org.springframework.integration.kafka.serializer.avro.AvroSerializer<T>

public class AvroSerializer<T>
extends java.lang.Object

Since:
0.5

Constructor Summary
AvroSerializer()
           
 
Method Summary
 T deserialize(byte[] bytes, org.apache.avro.io.DatumReader<T> reader)
           
 byte[] serialize(T input, org.apache.avro.io.DatumWriter<T> writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AvroSerializer

public AvroSerializer()
Method Detail

deserialize

public T deserialize(byte[] bytes,
                     org.apache.avro.io.DatumReader<T> reader)
              throws java.io.IOException
Throws:
java.io.IOException

serialize

public byte[] serialize(T input,
                        org.apache.avro.io.DatumWriter<T> writer)
                 throws java.io.IOException
Throws:
java.io.IOException