public static class PersistentKafkaSource.KafkaZKStringSerializer extends Object implements org.I0Itec.zkclient.serialize.ZkSerializer
| Constructor and Description |
|---|
KafkaZKStringSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deserialize(byte[] bytes) |
byte[] |
serialize(Object data) |
public byte[] serialize(Object data) throws org.I0Itec.zkclient.exception.ZkMarshallingError
serialize in interface org.I0Itec.zkclient.serialize.ZkSerializerorg.I0Itec.zkclient.exception.ZkMarshallingErrorpublic Object deserialize(byte[] bytes) throws org.I0Itec.zkclient.exception.ZkMarshallingError
deserialize in interface org.I0Itec.zkclient.serialize.ZkSerializerorg.I0Itec.zkclient.exception.ZkMarshallingErrorCopyright © 2014–2015 The Apache Software Foundation. All rights reserved.