- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Need for Controller Services in Apache Nifi
- Labels:
-
Apache NiFi
Created ‎08-06-2017 09:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Team,
I went through the NiFi documentation to get an idea about Controller Services. But still I am not clear when to go for Controller services. Could you please help me with answering the below queries?
1. What are Controller Services & its characteristics/advantages? Why do we go for it?
2. In what scenarioes we can/should use it?
Thanks & Regards,
R.Rohit
Created ‎08-06-2017 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A controller service is, in a simplified view, a package of configuration parameters and code that does something in the background. Some examples are:
- Connections to external services, for instance databases and APIs, where the controller service encapsulates the connection parameters
- Record Readers/Writers that tell record processors how to interpret data formats
- Reporting Tasks that send statistics about NiFi on a regular basis, for example to a monitoring service
- Sharing state between processors and cluster nodes, for instance with cache services.
There is a more formal explanation in the docs but I understand that you read that already.
In the first two use cases, if you configure a processor that uses any of these services, the processor will ask you to configure a controller service. You will not be able to run the processor before you configure the controller service (or use an existing one.)
Created ‎08-06-2017 09:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A controller service is, in a simplified view, a package of configuration parameters and code that does something in the background. Some examples are:
- Connections to external services, for instance databases and APIs, where the controller service encapsulates the connection parameters
- Record Readers/Writers that tell record processors how to interpret data formats
- Reporting Tasks that send statistics about NiFi on a regular basis, for example to a monitoring service
- Sharing state between processors and cluster nodes, for instance with cache services.
There is a more formal explanation in the docs but I understand that you read that already.
In the first two use cases, if you configure a processor that uses any of these services, the processor will ask you to configure a controller service. You will not be able to run the processor before you configure the controller service (or use an existing one.)
Created ‎08-07-2017 01:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks @Hellmar Becker
