public class ByteBufferSerializer extends Object implements org.apache.kafka.common.serialization.Serializer<ByteBuffer>
Constructor and Description |
---|
ByteBufferSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(Map<String,?> map,
boolean b) |
byte[] |
serialize(String s,
ByteBuffer b) |
public void configure(Map<String,?> map, boolean b)
configure
in interface org.apache.kafka.common.serialization.Serializer<ByteBuffer>
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.kafka.common.serialization.Serializer<ByteBuffer>
public byte[] serialize(String s, ByteBuffer b)
serialize
in interface org.apache.kafka.common.serialization.Serializer<ByteBuffer>
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.