Class BufferDeserializer
- java.lang.Object
-
- io.vertx.kafka.client.serialization.BufferDeserializer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.kafka.common.serialization.Deserializer<Buffer>
public class BufferDeserializer extends Object implements org.apache.kafka.common.serialization.Deserializer<Buffer>
Kafka deserializer for raw bytes in a buffer
-
-
Constructor Summary
Constructors Constructor Description BufferDeserializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
configure(Map<String,?> configs, boolean isKey)
Buffer
deserialize(String topic, byte[] data)
-
-
-
Method Detail
-
configure
public void configure(Map<String,?> configs, boolean isKey)
- Specified by:
configure
in interfaceorg.apache.kafka.common.serialization.Deserializer<Buffer>
-
deserialize
public Buffer deserialize(String topic, byte[] data)
- Specified by:
deserialize
in interfaceorg.apache.kafka.common.serialization.Deserializer<Buffer>
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.kafka.common.serialization.Deserializer<Buffer>
-
-