Skip to main content

ConfluentSchemaRegistry

Description

Provides a Schema Registry that interacts with the Confluent Schema Registry so that those Schemas that are stored in the Confluent Schema Registry can be used in NiFi. The Confluent Schema Registry has a notion of a "subject" for schemas, which is their terminology for a schema name. When a Schema is looked up by name by this registry, it will find a Schema in the Confluent Schema Registry with that subject.

Tags

avro, confluent, kafka, registry, schema

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Schema Registry URLs *urlhttp://localhost:8081A comma-separated list of URLs of the Schema Registry to interact with

Supports Expression Language, using Environment variables.
SSL Context Servicessl-contextController Service:
SSLContextService

Implementations:
StandardRestrictedSSLContextService
StandardSSLContextService
Specifies the SSL Context Service to use for interacting with the Confluent Schema Registry
Communications Timeout *timeout30 secsSpecifies how long to wait to receive data from the Schema Registry before considering the communications a failure
Cache Size *cache-size1000Specifies how many Schemas should be cached from the Schema Registry
Cache Expiration *cache-expiration1 hourSpecifies how long a Schema that is cached should remain in the cache. Once this time period elapses, a cached version of a schema will no longer be used, and the service will have to communicate with the Schema Registry again in order to obtain the schema.
Authentication Typeauthentication-typeNONE
  • BASIC
  • NONE
HTTP Client Authentication Type for Confluent Schema Registry
UsernameusernameUsername for authentication to Confluent Schema Registry

This property is only considered if:
  • the property Authentication Type has a value of BASIC
PasswordpasswordPassword for authentication to Confluent Schema Registry

This property is only considered if:
  • the property Authentication Type has a value of BASIC

State Management

This component does not store state.

Restricted

This component is not restricted.

System Resource Considerations

This component does not specify system resource considerations.

See Also