Constructor and Description |
---|
IntSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> map,
boolean b) |
byte[] |
serialize(String topic,
Integer val) |
public void configure(Map<String,?> map, boolean b)
configure
in interface org.apache.kafka.common.serialization.Serializer<Integer>
public byte[] serialize(String topic, Integer val)
serialize
in interface org.apache.kafka.common.serialization.Serializer<Integer>
public void close()
close
in interface org.apache.kafka.common.serialization.Serializer<Integer>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.