public abstract class Deserializer<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected io.cloudevents.format.builder.HeadersStep<io.cloudevents.v1.AttributesImpl,T,byte[]> |
builder |
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> |
deserialize(org.apache.kafka.clients.consumer.ConsumerRecord<?,byte[]> record) |
io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> |
deserialize(org.apache.kafka.common.header.Headers headers,
byte[] data) |
protected io.cloudevents.format.builder.HeadersStep<io.cloudevents.v1.AttributesImpl,T,byte[]> builder
public io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> deserialize(org.apache.kafka.common.header.Headers headers, byte[] data)
public io.cloudevents.CloudEvent<io.cloudevents.v1.AttributesImpl,T> deserialize(org.apache.kafka.clients.consumer.ConsumerRecord<?,byte[]> record)