10.2.1 Overview of file input

File input processing involves reading data from files, such as error log and access log files, converting the data into a format that can be processed by the stream data processing engine, and then sending the data to the stream data processing engine. An input adaptor is used to perform file input processing.

The following figure provides an overview of file input.

Figure 10-1 Overview of file input

[Figure]

  1. Reads data
    Uses a file input connector to read data from an input file.
  2. Edits data
    Edits the data (performs format conversion and mapping).
  3. Sends tuples
    Converts the edited data to tuples and sends the tuples to the stream data processing engine.