Configure the controller services
You can add Controller Services to provide shared services to be used by the processors in your data flow. You will use these Controller Services later when you configure your processors.
You must define the Controller Services for the processors in your data flow in the configuration of the root process group where they will be used.
- AvroReader
- AvroWriter
- HortonworksSchemaRegistry
Property | Description | Example value for ingest data flow |
---|---|---|
Schema Access Strategy |
Specify how to obtain the schema to be used for interpreting the data. |
HWX Content-Encoded Schema Reference |
Schema Registry |
Specify the Controller Service to use for the Schema Registry. |
CDPSchemaRegistry |
Schema Name |
Specify the name of the schema to look up in the Schema Registry property. |
customer |
WriteAvro Controller Servie
Property | Description | Example value for ingest data flow |
---|---|---|
Schema Write Strategy |
Specifies how the schema for a Record should be added to the data. |
HWX Content Encoded Schema Reference |
Schema Access Strategy |
Specifies how to obtain the schema that is to be used for interpreting the data. |
Use Schema Name Property |
Schema Registry |
Specifies the Controller Service to use for the Schema Registry. |
HortonworksSchemaRegistry |
Schema name |
Specifies the name of the schema to lookup in the Schema Registry property. |
customer |
HortonworksSchema Registry
Property | Description | Example value for ingest data flow |
---|---|---|
Schema Registry URL |
Provide the URL of the schema registry that this Controller
Service should connect to, including version. In the format:
|
|
SSL Context Service |
Specify the SSL Context Service to use for communicating with Schema Registry. Use the pre-configured SSLContextProvider. |
Default NiFi SSL Context Service |
Kerberos Principal |
Specify the user name that should be used for authenticating with Kerberos. Use your CDP workload username to set this Authentication property. |
srv_nifi-hive-ingest |
Kerberos Password |
Provide the password that should be used for authenticating with Kerberos. Use your CDP workload password to set this Authentication property. |
password |