@Experimental(value=SOURCE_SINK) public class ConfluentSchemaRegistryDeserializerProvider<T> extends java.lang.Object implements DeserializerProvider<T>
DeserializerProvider
that uses Confluent Schema Registry to resolve a
Deserializer
s and Coder
given a subject.Modifier and Type | Method and Description |
---|---|
Coder<T> |
getCoder(CoderRegistry coderRegistry) |
Deserializer<T> |
getDeserializer(java.util.Map<java.lang.String,?> configs,
boolean isKey) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
int schemaRegistryCacheCapacity,
java.lang.String subject) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
int schemaRegistryCacheCapacity,
java.lang.String subject,
@Nullable java.lang.Integer version) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
int schemaRegistryCacheCapacity,
java.lang.String subject,
@Nullable java.lang.Integer version,
@Nullable java.util.Map<java.lang.String,?> schemaRegistryConfigs) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
java.lang.String subject) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
java.lang.String subject,
@Nullable java.lang.Integer version) |
static <T> ConfluentSchemaRegistryDeserializerProvider<T> |
of(java.lang.String schemaRegistryUrl,
java.lang.String subject,
@Nullable java.lang.Integer version,
@Nullable java.util.Map<java.lang.String,?> schemaRegistryConfigs) |
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, java.lang.String subject)
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, java.lang.String subject, @Nullable java.lang.Integer version)
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, java.lang.String subject, @Nullable java.lang.Integer version, @Nullable java.util.Map<java.lang.String,?> schemaRegistryConfigs)
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, int schemaRegistryCacheCapacity, java.lang.String subject)
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, int schemaRegistryCacheCapacity, java.lang.String subject, @Nullable java.lang.Integer version)
public static <T> ConfluentSchemaRegistryDeserializerProvider<T> of(java.lang.String schemaRegistryUrl, int schemaRegistryCacheCapacity, java.lang.String subject, @Nullable java.lang.Integer version, @Nullable java.util.Map<java.lang.String,?> schemaRegistryConfigs)
public Deserializer<T> getDeserializer(java.util.Map<java.lang.String,?> configs, boolean isKey)
getDeserializer
in interface DeserializerProvider<T>
public Coder<T> getCoder(CoderRegistry coderRegistry)
getCoder
in interface DeserializerProvider<T>