@Incubating public class DebeziumSerdes extends Object
| Constructor and Description |
|---|
DebeziumSerdes() |
| Modifier and Type | Method and Description |
|---|---|
static <T> org.apache.kafka.common.serialization.Serde<T> |
payloadJson(Class<T> objectType)
Provides a
Serde implementation that maps JSON Debezium change events into a T Java object. |
public static <T> org.apache.kafka.common.serialization.Serde<T> payloadJson(Class<T> objectType)
Serde implementation that maps JSON Debezium change events into a T Java object.
When used as key deserializer, then the key field(s) are mapped into a corresponding Java object.
When used as value deserializer, its behaviour is driven by the from.field config option:
before or after: extracts the given field from the envelope and maps it
payload field to get the envelope and apply
the rules above.T - type to which JSON is mappedobjectType - type to which JSON is mappedCopyright © 2021 JBoss by Red Hat. All rights reserved.