Spring Integration Kafka Support

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

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

public class AvroReflectDatumBackedKafkaEncoder<T>
extends AvroDatumSupport<T>
implements kafka.serializer.Encoder<T>

Since:
0.5
Author:
Soby Chacko

Constructor Summary
AvroReflectDatumBackedKafkaEncoder(java.lang.Class<T> clazz)
           
 
Method Summary
 byte[] toBytes(T source)
           
 
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

AvroReflectDatumBackedKafkaEncoder

public AvroReflectDatumBackedKafkaEncoder(java.lang.Class<T> clazz)
Method Detail

toBytes

public byte[] toBytes(T source)
Specified by:
toBytes in interface kafka.serializer.Encoder<T>

Spring Integration Kafka Support