In order to test the ingestion pipeline you must supply some data. The easiest way to do this is to use an IDOL Connector. This section describes how to configure an IDOL Connector to send data to NiFi.
To configure an IDOL Connector
In the [Ingestion]
section set the following parameters.
IngesterType
|
The type of ingestion process. Set this parameter to NiFi . |
IngestHost
|
The host name or IP address of the NiFi instance. |
IngestPort
|
The port of the NiFi instance. |
IngestNiFiInputPort
|
The NiFi input port ID. |
IngestNiFiApiUrl
|
(Optional) The base URL of the NiFi REST API. You only need to set this parameter if you have configured NiFi to use a URL other than the standard (host:port/nifi-api/ ). |
IngestNiFiUseSSL
|
(Optional) A Boolean parameter that specifies whether to use SSL/TLS when sending documents to NiFi. When this parameter is TRUE you must also set the parameter SSLMethod . |
IngestNiFiStreamFiles
|
(Optional) A Boolean value that specifies whether to stream files (document content) to NiFi. If you set this parameter to FALSE , the connector sends a much smaller amount of data to NiFi, which can increase performance. NiFi processors must then retrieve the files from the connector machine (or the shared path when IngestSharedPath is set). |
For example:
[Ingestion] IngesterType=NiFi IngestHost=nifi-host1 IngestPort=8080 IngestNiFiInputPort=1639849e-0163-1000-8654-706cd4d6970d // Set the following parameters only if you have // configured SSL for your NiFi instance // IngestNiFiUseSSL=TRUE // SSLMethod=Negotiate
|