Use the start.sh script to publish data from the Server to RAP.
To use the start.sh script, create the $ESP_HOME/adapters/rap_out/lib directory and copy the platform specific libpublisher.so to it. Verify that libodbc.so is installed with your RAP installation, and if it is not present, install it. Create a symbolic link with the libodbc.so.1 file from your RAP installation to libodbc.so version 1.0.0, and put this file in the $ESP_HOME/adapters/rap_out/lib directory.
esp_rap_out_adapter -f configFile -t templateDir -p publisherConfigDir &
Argument | Description |
---|---|
-f configFile | The full path of the configuration file that specifies the streams from Event Stream Processor that provide data to RAP. Default value is ../config/espfeedhandler.xml |
-t templateDir | The full path to the directory containing the RDS templates that map columns in the Event Stream Processor streams to tables and columns of RAP. Default value is ../templates |
-p PublisherConfigDir | The full path to the directory containing the publisher configuration file, which defines the multicast address used by the RAP subscriber. Default value is ../config |
& | (Optional) Run the adapter in the background. |