public class BufferSerializer extends Object implements org.apache.kafka.common.serialization.Serializer<Buffer>
Constructor and Description |
---|
BufferSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> configs,
boolean isKey) |
byte[] |
serialize(String topic,
Buffer data) |
public void configure(Map<String,?> configs, boolean isKey)
configure
in interface org.apache.kafka.common.serialization.Serializer<Buffer>
public byte[] serialize(String topic, Buffer data)
serialize
in interface org.apache.kafka.common.serialization.Serializer<Buffer>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.kafka.common.serialization.Serializer<Buffer>
Copyright © 2024 Eclipse. All rights reserved.