Striim 3.9.7 documentation

Sample applications

Striim includes these sample applications:

  • The CDC sample applications demonstrate Striim's data migration capabilities using a PostgreSQL instance in a Docker container. See Running the CDC sample apps.

  • PosApp demonstrates how a credit card payment processor might use Striim to generate reports on current transaction activity by merchant and send alerts when transaction counts for a merchant are higher or lower than average for the time of day. This application is explained in greater detail than the other two, so you should read about it first. The posApp.tql file is also the more extensively commented of the two.

  • MultiLogApp demonstrates how Striim could be used to monitor and correlate logs from web and application server logs from the same web application.

  • RetailApp, excerpts from which are used as examples in some Programmer's Guide topics.

The source code and data for the sample applications are installed with the server in …/Striim/Samples.

The alternative PosAppThrottled.tql and MultiLogAppThrottled.tql versions introduce delays in the parsing of the source streams in order to simulate real-time data in the dashboards. See the comments in those TQL files for more information.