IBM InfoSphere Streams Version 4.1.0

Triggering the initialization phase

If you want your ITE application to start the initialization of context resources after external activities are complete, use a startup control file.

Before you begin

  1. Configure your ITE application to use a startup control file.
  2. Set the ite.businessLogic.group.startupControlFile parameter to a valid file name.

About this task

During the ITE application startup, the application restores its internal group state if the data to be restored is available in checkpoint files. These checkpoint files are created while the application is running. For more information, see the ite.businessLogic.group.custom.checkpointing and ite.businessLogic.group.deduplication.checkpointing parameters in "Parameter reference."

Sometimes, you might need to postpone this restoration until an external activity is complete. For example, if you have database data that is more current than your checkpoint files, you may want to build new restoration files from the database.

Procedure

  1. Prepare the data files that will be used to restore the group state. For example, to prepare the data file for the record deduplication, read the hash codes from your source, for example, a database, and write the hash code files.

Create the file that is specified in the ite.businessLogic.group.startupControlFile parameter, and include in the file one line: done.

Result

The ITE application cyclical checks for the specified file and, if it exists, reads it. As soon as the ITE application finds the a done line, it starts the restoration.