T - type of record it producespublic class ConfluentRegistryAvroDeserializationSchema<T>
extends org.apache.flink.formats.avro.RegistryAvroDeserializationSchema<T>
SchemaCoder that
uses Confluent Schema Registry.| Modifier and Type | Method and Description |
|---|---|
static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> |
forGeneric(org.apache.avro.Schema schema,
String url)
Creates
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry. |
static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> |
forGeneric(org.apache.avro.Schema schema,
String url,
int identityMapCapacity)
Creates
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry. |
static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> |
forGeneric(org.apache.avro.Schema schema,
String url,
int identityMapCapacity,
Map<String,?> registryConfigs)
Creates
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry. |
static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> |
forGeneric(org.apache.avro.Schema schema,
String url,
Map<String,?> registryConfigs)
Creates
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry. |
static <T extends org.apache.avro.specific.SpecificRecord> |
forSpecific(Class<T> tClass,
String url)
Creates
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry. |
static <T extends org.apache.avro.specific.SpecificRecord> |
forSpecific(Class<T> tClass,
String url,
int identityMapCapacity)
Creates
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry. |
static <T extends org.apache.avro.specific.SpecificRecord> |
forSpecific(Class<T> tClass,
String url,
int identityMapCapacity,
Map<String,?> registryConfigs)
Creates
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry. |
static <T extends org.apache.avro.specific.SpecificRecord> |
forSpecific(Class<T> tClass,
String url,
Map<String,?> registryConfigs)
Creates
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry. |
deserialize, equals, hashCodeforGeneric, forGeneric, forSpecific, forSpecific, getProducedType, isEndOfStreampublic static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> forGeneric(org.apache.avro.Schema schema, String url)
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry.
By default, this method supports up to 1000 cached schema versions.
schema - schema of produced recordsurl - url of schema registry to connectGenericRecordpublic static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> forGeneric(org.apache.avro.Schema schema, String url, int identityMapCapacity)
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry.schema - schema of produced recordsurl - url of schema registry to connectidentityMapCapacity - maximum number of cached schema versionsGenericRecordpublic static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> forGeneric(org.apache.avro.Schema schema, String url, @Nullable Map<String,?> registryConfigs)
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry.
By default, this method supports up to 1000 cached schema versions.
schema - schema of produced recordsurl - URL of schema registry to connectregistryConfigs - map with additional schema registry configs (for example SSL
properties)GenericRecordpublic static ConfluentRegistryAvroDeserializationSchema<org.apache.avro.generic.GenericRecord> forGeneric(org.apache.avro.Schema schema, String url, int identityMapCapacity, @Nullable Map<String,?> registryConfigs)
ConfluentRegistryAvroDeserializationSchema that produces GenericRecord using the provided reader schema and looks up the writer schema in the
Confluent Schema Registry.schema - schema of produced recordsurl - URL of schema registry to connectidentityMapCapacity - maximum number of cached schema versionsregistryConfigs - map with additional schema registry configs (for example SSL
properties)GenericRecordpublic static <T extends org.apache.avro.specific.SpecificRecord> ConfluentRegistryAvroDeserializationSchema<T> forSpecific(Class<T> tClass, String url)
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry.
By default, this method supports up to 1000 cached schema versions.
tClass - class of record to be producedurl - url of schema registry to connectpublic static <T extends org.apache.avro.specific.SpecificRecord> ConfluentRegistryAvroDeserializationSchema<T> forSpecific(Class<T> tClass, String url, int identityMapCapacity)
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry.tClass - class of record to be producedurl - url of schema registry to connectidentityMapCapacity - maximum number of cached schema versionspublic static <T extends org.apache.avro.specific.SpecificRecord> ConfluentRegistryAvroDeserializationSchema<T> forSpecific(Class<T> tClass, String url, @Nullable Map<String,?> registryConfigs)
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry.
By default, this method supports up to 1000 cached schema versions.
tClass - class of record to be producedurl - URL of schema registry to connectregistryConfigs - map with additional schema registry configs (for example SSL
properties)public static <T extends org.apache.avro.specific.SpecificRecord> ConfluentRegistryAvroDeserializationSchema<T> forSpecific(Class<T> tClass, String url, int identityMapCapacity, @Nullable Map<String,?> registryConfigs)
AvroDeserializationSchema that produces classes that were generated from Avro
schema and looks up the writer schema in the Confluent Schema Registry.tClass - class of record to be producedurl - URL of schema registry to connectidentityMapCapacity - maximum number of cached schema versionsregistryConfigs - map with additional schema registry configs (for example SSL
properties)Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.