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