@Experimental(value=SOURCE_SINK) public class ConfluentSchemaRegistryDeserializerProvider<T> extends java.lang.Object
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,
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 Deserializer<T> getDeserializer(java.util.Map<java.lang.String,?> configs, boolean isKey)
public Coder<T> getCoder(CoderRegistry coderRegistry)