The file input adapter reads the tail of a given file and feeds that to the product engine. It only supports text input mapping type.
...
- Log in to the product's management console, and click Configure.
- Click Input Event Adaptors in the Event Processor Configs menu, and then click Add Input Event Adaptor.
- Enter details as shown in the below example.
Click Add Event Adaptor.
...
The configured input event adapters are used in event builders. With input event adapter message properties, event builders are able to extract data from the incoming events to build the event streams. Following are the specific message properties of input file event adapterMessage properties specific to input event adapters of the file
type can be configured as follows.
- Log into the CEP Management Console. For detailed instructions, see Running the Product.
- Click the Configure tab and then click Event Builders to open the Event Builder Details page.
Click the name of the event builder to which the relevant input event adapter is connected.
The message properties of
...
a
file
input
...
event adapter are described below. Change the property values as required.
Property Description File path Path of the file to be used as the source to generate events Input Mapping Type The incoming event type to be mapped. The input file event adapter only supports text input mapping type.