Receiving Data with Input Adapters

Use an input adapter to pull information into the system from external data sources.

This is an overview of typical tasks to perform before attaching an input adapter to the ESP Server, as well as an introduction to the ATTACH ADAPTER statement.

  1. Assess the input data. Determine which sets or subsets of data you want to pull into the ESP Server.
  2. Choose an input adapter.
    If the data source uses datatypes that are not supported by ESP Server, the Server maps the data to valid datatypes. Review the associated mapping description for your adapter in the Adapters Guide.
  3. Configure your adapter.
  4. Create an input stream or window, and define the structure for the incoming data in its schema clause; alternatively use the schematic discovery feature in the visual editor to import the schematic and create an attached stream or window.
  5. Use the ATTACH ADAPTER statement to attach your adapter to the Server stream or window, and set values for the adapter properties.
    The ATTACH ADAPTER statement includes parameters that allow adapter properties to be modified at server runtime.
    Note: You can bind only declared parameters to a new value when a module or project is loaded.
    Continue to build the model, assuming the input from the source is available through the stream or window you have defined.