public class InstantDeserializer
extends java.lang.Object
Deserializer
for Instant
.
This decodes the number of milliseconds since epoch using LongDeserializer
.
Constructor and Description |
---|
InstantDeserializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure(java.util.Map<java.lang.String,?> configs,
boolean isKey) |
Instant |
deserialize(java.lang.String topic,
byte[] bytes) |
public void configure(java.util.Map<java.lang.String,?> configs, boolean isKey)
public Instant deserialize(java.lang.String topic, byte[] bytes)
public void close()