public class KafkaEndpointDataSerializer extends Object implements org.apache.kafka.common.serialization.Serializer<EndpointData>
Constructor and Description |
---|
KafkaEndpointDataSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs,
boolean isKey) |
byte[] |
serialize(String topic,
EndpointData data) |
byte[] |
serialize(String topic,
org.apache.kafka.common.header.Headers headers,
EndpointData data) |
public void configure(Map<String,?> configs, boolean isKey)
configure
in interface org.apache.kafka.common.serialization.Serializer<EndpointData>
public byte[] serialize(String topic, EndpointData data)
serialize
in interface org.apache.kafka.common.serialization.Serializer<EndpointData>
public byte[] serialize(String topic, org.apache.kafka.common.header.Headers headers, EndpointData data)
serialize
in interface org.apache.kafka.common.serialization.Serializer<EndpointData>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.kafka.common.serialization.Serializer<EndpointData>
Copyright © GigaSpaces.