@Singleton @Primary public class CompositeSerdeRegistry extends java.lang.Object implements SerdeRegistry
SerdeRegistry that combines multiple registries into a single registry.| Constructor and Description |
|---|
CompositeSerdeRegistry(SerdeRegistry... registries)
The default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.kafka.common.serialization.Serde<T> |
getSerde(java.lang.Class<T> type)
Obtain a
Serde for the given type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeserializer, getSerializer, pickDeserializer, pickSerializerpublic CompositeSerdeRegistry(SerdeRegistry... registries)
registries - The other registries@Nonnull public <T> org.apache.kafka.common.serialization.Serde<T> getSerde(java.lang.Class<T> type)
SerdeRegistrySerde for the given type.getSerde in interface SerdeRegistryT - The generic typetype - The typeSerde