Spring Integration Kafka Support

org.springframework.integration.kafka.listener
Class KafkaTopicOffsetManager.KeyEncoderDecoder

java.lang.Object
  extended by org.springframework.integration.kafka.listener.KafkaTopicOffsetManager.KeyEncoderDecoder
All Implemented Interfaces:
kafka.serializer.Decoder<KafkaTopicOffsetManager.Key>, kafka.serializer.Encoder<KafkaTopicOffsetManager.Key>
Enclosing class:
KafkaTopicOffsetManager

public static class KafkaTopicOffsetManager.KeyEncoderDecoder
extends java.lang.Object
implements kafka.serializer.Encoder<KafkaTopicOffsetManager.Key>, kafka.serializer.Decoder<KafkaTopicOffsetManager.Key>


Constructor Summary
KafkaTopicOffsetManager.KeyEncoderDecoder()
           
 
Method Summary
 KafkaTopicOffsetManager.Key fromBytes(byte[] bytes)
           
 byte[] toBytes(KafkaTopicOffsetManager.Key key)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KafkaTopicOffsetManager.KeyEncoderDecoder

public KafkaTopicOffsetManager.KeyEncoderDecoder()
Method Detail

fromBytes

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

toBytes

public byte[] toBytes(KafkaTopicOffsetManager.Key key)
Specified by:
toBytes in interface kafka.serializer.Encoder<KafkaTopicOffsetManager.Key>

Spring Integration Kafka Support