The HTTP source service accepts requests that use the HTTP protocol. The source service stores the paths in the EDS configuration file.
You can configure the following properties for the HTTP or HTTPS source service type:
Entity Name
Name of the HTTP source service. Maximum length is 32 characters.
Description
Description of the source service. Maximum length is 256 characters.
Connection Type
You can select one of the following connection types:
HTTP
HTTPS
HTTP POST Path or HTTPS POST Path
Path of the HTTP or HTTPS POST requests that you want the HTTP service to receive.
Enter the path as the path appears in the POST requests. Enter the path in the following format:
myapp/path
KeyStore Path
The directory that contains the keystore file. Specify the absolute path to file.
You must specify this property if you select the
HTTPS
connection type.
Keystore Password
Password for the keystore file.
You must specify this property if you select the
HTTPS
connection type.
Select a secure parameter if you have already created it. To specify a key and value, click
Click to add secure parameters
.
Allow Prefix Path
Indicate that the POST path is a prefix.
Status Check Path
Path to which an HTTP GET request is sent to verify if the server is running.
Port
Port on which to listen for incoming connections.
Idle State Timeout (seconds)
Time after which the connection is closed when there is no incoming data. Specify a value of 0 to disable timeout.
Synchronous Response
Select one of the following types of responses:
-. Disable synchronous response.
Target ack based. The HTTP client gets a response after the target service sends an acknowledgment (UM Consumption report).
HTTP response based. The HTTP client gets an HTTP response with the same session ID that the source service includes in the EDS event header.
If the target service is not running when you deploy the data flow, it receives duplicate messages when it comes up later.
Maximum Event Size
Maximum length of data that the source service can read at a time, in bytes. Default is 8192. Minimum value is 1. Maximum value is 51200.
Retry on Failure
Indicates that the source service should try to open or read from the source if the operation fails the first time.
Number of Retries
The number of times the source service should retry to open or read from the source.
Delay between Retries
Time in milliseconds between successive retries.
Persist Data
Persist the data from the source locally so that the source service can continue to process data even if the target is not available.
Persistence Options
You can configure the following persistence options:
batchSizeInBytes
. The batch size of the events in bytes after which the data is written to the persistent store. Specify a value of 0 if you want to write the data to the persistent store immediately. Default is 262144 bytes.
flushInterval
. The interval in milliseconds after which the source services writes data to the persistent store. Default is 5000 milliseconds.
maxDataFiles
. The maximum number of data files that the source service can keep in the persistent store. After the number of files exceed this number, a rollover occurs. Default is 10.
maxDataFileSize
. The maximum size of each data file in bytes. When the file reaches the specified size, a file rollover occurs. Default is 1073741824.
maxQueueSizeInBytes
. The maximum size of data that is unsent or has not received acknowledgment in bytes that can be stored in the persistent store. If the specified size is exceeded, the source service does not read data from the source. If you specify a value of 0, the unsent data can be as much as the value of
maxDataFiles
times
maxDataFileSize
. Default is unlimited size.
Statistics
You can monitor the following statistics for the HTTP source service: