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