Class AmazonGlueSchemaRegistry
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.aws.schemaregistry.AmazonGlueSchemaRegistry
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,SchemaRegistry
@Tags({"schema","registry","aws","avro","glue"})
@CapabilityDescription("Provides a Schema Registry that interacts with the AWS Glue Schema Registry so that those Schemas that are stored in the Glue Schema Registry can be used in NiFi. When a Schema is looked up by name by this registry, it will find a Schema in the Glue Schema Registry with their names.")
public class AmazonGlueSchemaRegistry
extends org.apache.nifi.controller.AbstractControllerService
implements SchemaRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptorprivate SchemaRegistryClient(package private) static final org.apache.nifi.components.PropertyDescriptorprivate static final List<org.apache.nifi.components.PropertyDescriptor> private static final org.apache.nifi.components.PropertyDescriptorprivate static final ProxySpec[]static final org.apache.nifi.components.PropertyDescriptor(package private) static final org.apache.nifi.components.PropertyDescriptorprivate static final Set<SchemaField> static final org.apache.nifi.components.PropertyDescriptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.nifi.components.AllowableValuecreateAllowableValue(software.amazon.awssdk.regions.Region region) private software.amazon.awssdk.http.SdkHttpClientcreateSdkHttpClient(org.apache.nifi.controller.ConfigurationContext context) private static org.apache.nifi.components.AllowableValue[]protected List<org.apache.nifi.components.PropertyDescriptor> voidmigrateProperties(org.apache.nifi.migration.PropertyConfiguration propertyConfiguration) voidonEnabled(org.apache.nifi.controller.ConfigurationContext context) retrieveSchema(SchemaIdentifier schemaIdentifier) Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful
-
Field Details
-
schemaFields
-
SCHEMA_REGISTRY_NAME
static final org.apache.nifi.components.PropertyDescriptor SCHEMA_REGISTRY_NAME -
REGION
public static final org.apache.nifi.components.PropertyDescriptor REGION -
CACHE_SIZE
static final org.apache.nifi.components.PropertyDescriptor CACHE_SIZE -
CACHE_EXPIRATION
static final org.apache.nifi.components.PropertyDescriptor CACHE_EXPIRATION -
COMMUNICATIONS_TIMEOUT
static final org.apache.nifi.components.PropertyDescriptor COMMUNICATIONS_TIMEOUT -
AWS_CREDENTIALS_PROVIDER_SERVICE
public static final org.apache.nifi.components.PropertyDescriptor AWS_CREDENTIALS_PROVIDER_SERVICE -
SSL_CONTEXT_SERVICE
public static final org.apache.nifi.components.PropertyDescriptor SSL_CONTEXT_SERVICE -
PROXY_SPECS
-
PROXY_CONFIGURATION_SERVICE
private static final org.apache.nifi.components.PropertyDescriptor PROXY_CONFIGURATION_SERVICE -
PROPERTY_DESCRIPTORS
-
client
-
-
Constructor Details
-
AmazonGlueSchemaRegistry
public AmazonGlueSchemaRegistry()
-
-
Method Details
-
migrateProperties
public void migrateProperties(org.apache.nifi.migration.PropertyConfiguration propertyConfiguration) - Specified by:
migratePropertiesin interfaceorg.apache.nifi.controller.ControllerService
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classorg.apache.nifi.components.AbstractConfigurableComponent
-
onEnabled
@OnEnabled public void onEnabled(org.apache.nifi.controller.ConfigurationContext context) -
retrieveSchema
public RecordSchema retrieveSchema(SchemaIdentifier schemaIdentifier) throws IOException, SchemaNotFoundException - Specified by:
retrieveSchemain interfaceSchemaRegistry- Throws:
IOExceptionSchemaNotFoundException
-
getSuppliedSchemaFields
- Specified by:
getSuppliedSchemaFieldsin interfaceSchemaRegistry
-
createAllowableValue
private static org.apache.nifi.components.AllowableValue createAllowableValue(software.amazon.awssdk.regions.Region region) -
getAvailableRegions
private static org.apache.nifi.components.AllowableValue[] getAvailableRegions() -
createSdkHttpClient
private software.amazon.awssdk.http.SdkHttpClient createSdkHttpClient(org.apache.nifi.controller.ConfigurationContext context)
-