Class JsonbSerde<T>
java.lang.Object
io.quarkus.kafka.client.serialization.JsonbSerde<T>
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.common.serialization.Serde<T>
A
Serde that (de-)serializes JSON using JSON-B.-
Constructor Summary
ConstructorsConstructorDescriptionJsonbSerde(Class<T> type) JsonbSerde(Class<T> type, jakarta.json.bind.Jsonb jsonb) -
Method Summary
-
Constructor Details
-
JsonbSerde
-
JsonbSerde
-
-
Method Details
-
configure
- Specified by:
configurein interfaceorg.apache.kafka.common.serialization.Serde<T>
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.kafka.common.serialization.Serde<T>
-
serializer
- Specified by:
serializerin interfaceorg.apache.kafka.common.serialization.Serde<T>
-
deserializer
- Specified by:
deserializerin interfaceorg.apache.kafka.common.serialization.Serde<T>
-