Loads data into the Event Stream Processor from a variety of sources at the specified rate.
The formats that are currently supported are ESP XML, comma-separated values, ESP binary, and ODBC sources.
This tool can also play data at a user-specified rate, which can be specified either in rows/millisecond, or at a rate determined by the values in a timestamp/datetime column in input data. If the latter mechanism is used, the user can specify a timescale rate, which can be used to speed up or slow down the playback.
This tool is intended to replace esp_upload and esp_convert, which work only on Sybase file sources.
esp_playback -p [<host>:]<port>/workspace-name/project-name -c user[:password] [OPTION...]
Supported sources and their connection string formats include:
espxml:inputFile
where:
espdlm:inputFile[:delimiter]
where:
espxml:inputFile
where:
binary:inputFile
where:
One can use esp_convert to convert data from either XML or DML to binary format.
recorder:inputFile
where:
records:milliseconds
where:
This property is not supported for the source type recorder.
columnName
where:
The columnName property is ignored for the source type Recorder and is currently not supported for binary file sources.
The streamName variable is case-sensitive.
This value is global for all strings in the source. Specifying a large value for this option may result in increased memory usage depending on the number of strings in the record and the value specified with the -B option.
esp_playback -c user:pass -p localhost:19022/w1/p1 -C 'odbc:foo:query:select * from foobar_db' -s foobar
esp_playback -c user:pass -p localhost:19022/w1/p1 -C 'espxml:/tmp/foo.xml' -s bar -R 10000:1000 -r 15