Creating apps using wizards
Wizards can make creating Striim applications faster and easier. Apps created with wizards may be modified using Flow Designer or by exporting TQL, editing it, and importing the modified TQL.
Striim has wizards for many source-target combinations. Which are available in your installation will vary depending on which licenses you have (Contact Striim support for more information).
When you use a wizard, the app's exception store is enabled automatically. If you do not want an exception store, turn it off after you create the app (see CREATE EXCEPTIONSTORE).
Sources include | Targets include |
---|---|
|
|
App wizard prerequisite checklist
You will need the assistance of a database administrator for some of these tasks.
Configure the source database as detailed in the relevant topic in Sources. You will need to provide the user name and password created during database configuration when configuring the source. If using an automated pipeline wizard or an initial load wizard with Auto Schema Conversion, also assign the privileges listed for the source in Database privileges required for Auto Schema Conversion.
Configure the target as detailed in the relevant topic in Targets. If using an automated pipeline wizard or an initial load wizard with Auto Schema Conversion, also assign the privileges listed for the target in Database privileges required for Auto Schema Conversion.
If the source cannot be read directly by Striim (for example, if Striim is running in AWS, Azure, or Google Cloud, and the source is on your premises):
Install the Forwarding Agent and, if required, the appropriate JDBC driver on the source host as detailed in Striim Forwarding Agent installation and configuration.
Before launching a wizard, make sure the Forwarding Agent is running.
Automated pipelines and some "Initial load only" wizards have Auto Schema Conversion, which allows you to automatically create schemas and tables in the target that correspond to those in the source. In this release, tables can be created in the target only when Data type support & mapping for schema conversion & evolution includes mappings between all source and target column data types; other tables will be omitted.
If using an initial load wizard without Auto Schema Conversion, create tables in the target that match the tables in the source using any tool you wish.
Database privileges required for Auto Schema Conversion
To use Auto Schema Conversion, a database administrator must assign privileges to the users or service accounts to be specified for the source and target connections using the following commands or procedures:
Azure Synapse - target only
USE <DATABASENAME>; EXEC sp_addrolemember 'db_owner', '<USERNAME>';
BigQuery - target only
Follow the instructions in Create a service account with the necessary BigQuery permissions to assign roles or permissions to the service account to be specified in the target properties.
Cloud Spanner - target only
Grant the Cloud Spanner Database User or higher role (see Cloud Spanner Roles) for the database to the service account to be specified in the target properties.
Databricks - target only
GRANT CREATE ON SCHEMA <SCHEMANAME> TO <USERNAME>;
Db2 for z/OS - target only
GRANT CREATETAB ON DATABASE database_name TO <USERNAME>;
Fabric Data Warehouse
Grant the Fabric Data Warehoouse user Contributor Access to the workspace containing the data warehouse.
MariaDB / MySQL - source
Create a user as described in MariaDB setup or MySQL setup.
Alternatively, assign the SELECT privilege:
GRANT SELECT ON *.* TO '<username>'@'<hostname>';
MariaDB / MySQL - target
GRANT CREATE ON *.* TO <USERNAME>@<HOSTNAME>;
Oracle - source
Create a user as described in Create an Oracle user with LogMiner privileges. or Running the OJet setup script on Oracle.
Alternatively, assign the following privileges:
grant CREATE SESSION to <username>; grant SELECT ANY TABLE to <username>; grant SELECT ANY DICTIONARY to <username>;
Oracle - target
GRANT CREATE SESSION TO <USERNAME>; GRANT CREATE USER TO <USERNAME>; GRANT CREATE ANY TABLE TO <USERNAME>; GRANT CREATE ANY INDEX TO <USERNAME>; GRANT UNLIMITED TABLESPACE TO <USERNAME>;
PostgreSQL - source
Create a user as described in Configuring PostgreSQL to use PostgreSQL Reader.
Alternatively, assign the following privileges:
GRANT CONNECT ON DATABASE <DATABASENAME> TO <USERNAME>; GRANT SELECT ON <TABLENAMES> to <USERNAME>;
PostgreSQL - target
GRANT CONNECT ON DATABASE <DATABASENAME> TO <USERNAME>; GRANT CREATE ON <TABLENAMES> to <USERNAME>;
Snowflake - target only
GRANT USAGE ON <DATABASE | WAREHOUSE | SCHEMA | TABLE> TO ROLE <USERNAME>;
SQL Server - source
Create a user as described in Configuring SQL Server to use MS SQL Reader.
Alternatively, give the user the db_owner role:
USE <DATABASENAME>; EXEC sp_addrolemember 'db_owner', '<USERNAME>';
SQL Server - target
USE <DATABASENAME>; EXEC sp_addrolemember 'db_owner', '<USERNAME>';
Creating an application using a wizard
Complete the App wizard prerequisite checklist.
Select Apps > Create an App.
Select the source.
Click Select Target, then select the target. If your app does not have a target, select Striim.
Select the type of app you want to create, then click Get Started.
Enter a name for the app, select or enter the namespace in which you want to create it, and click Next.
Continue with Configuring a wizard source.
Using automated pipeline wizards
Automated pipeline wizards create two linked applications, one to perform the initial load of existing source data to a target (in most cases using JDBC to read the source) and another to continuously update the target with changes to the source read using CDC. Handover from the first app to the second is handled automatically. Recovery is automatically enabled for both applications, with the exception of initial load for Salesforce sources.
For an overview, see Introducing automated pipelines.
Automated pipelines are supported for the following sources and targets:
Sources | Targets |
---|---|
|
|
Notes on running automated pipeline wizards
Inline documentation for automated pipeline wizards

At steps in the wizards where detailed documentation is required, it appears in the UI.
Automatic creation of property variables for automated pipelines
For SQL CDC sources, the Connection URL or in Oracle SSL Config properties will automatically be secured using property variables (see CREATE PROPERTYVARIABLE) when using SSL, since the strings contain passwords. The property variables will be created in the same namespace as the automated pipeline.
Automatic creation of CHKPOINT tables for automated pipelines
Striim will create CHKPOINT tables automatically for targets that require it to support recovery.
Ignorable exception codes in automated pipeline targets
For database targets, the CDC application's writer will include the Ignorable Exception Code DUPLICATE_ROW_EXISTS, NO_OP_UPDATE, NO_OP_PKUPDATE, NO_OP_DELETE
see Ignorable Exception Code in Database Writer) so that the application will not halt if it reads some events that were already written to the target during initial load. After the CDC phase of the pipeline has been running for a while, you may wish to modify the CDC application to clear the Ignorable Exception Code property so that actual errors will not be ignored.
SSL certificates for automated pipeline sources running on a Forwarding Agent
If an automated pipeline's source will run on a Forwarding Agent, you cannot upload the SSL certificate using the wizard UI. Instead you must manually copy the certificate to the Forwarding Agent's host and specify the path in the wizard.
Schema evolution in automated pipelines
Except for Oracle sources, if supported by the source and target (see Handling schema evolution), schema evolution is enabled. To disable schema evolution, complete all steps in the wizard, save it rather than starting it, and edit the CDC application in Flow Designer.
For Oracle (not OJet) sources, CDDL Capture is set to False since it is supported only for 18c and earlier. If you wish to enable schema evolution, complete all steps in the wizard, save it rather than starting it, and edit the CDC application in Flow Designer.
Adding CQs or event transformers to automated pipelines
To add a CQ or event transformer to an automated pipeline, complete all steps in the wizard, and on the final Review page click Save & Exit rather than Save & Run. Then edit the application in Flow Designer. If the CQ or event transformer is required in both the initial load and CDC phases, you must edit both applications in the group.
Initial load report

Select Initial load report from the download menu for a .csv file indicating the status of each table in the pipeline.

The Automated pipeline configuration report is not available in this release (known issue DEV-48273).
Restarting an automated pipeline
When you restart an automated pipeline, it always runs the initial load app first. However, if initial load has been completed, it will write no data, quiesce, and go on to the CDC app.
Known issues and limitations for automated pipeline wizards
You must not perform any DDL changes in the source during the initial load phase.
For Oracle targets, you must create the schemas manually before running the wizard.
For Salesforce sources, recovery is not supported during the initial load phase (known issue DEV-42001).
Automated pipeline error handling and fault tolerance
Connection failures
In the event of a connection failure, the automated pipeline will halt with an explanatory error. When possible, it will offer suggestions on resolving the failure. When the issue has resolved, resume the application.
Initial load failures

If the initial load phase is interrupted before it has completed, see Fast Snapshot Recovery during initial load for instructions on resolving the issue. Then resume the application.
Automated pipeline runtime considerations
While initial load is being performed, do not perform any DDL changes on the source database.
Configuring a wizard source
Complete the steps in Creating an application using a wizard.
Enter the host name, port, the user name and password for Striim, and any other properties required by the wizard. See the relevant reader properties reference in Sources or Change Data Capture (CDC) for more information.
For an Incremental Batch Reader source, also specify the check column and start position as detailed in Incremental Batch Reader.
If using a Forwarding Agent, set Deploy source on Agent on. (This option appears only when an agent is connected to Striim. (For file sources, this option does not appear, but the source components are put in their own flow which can be deployed on the agent.)
Click Next. The wizard will connect to the database to validate the settings. If all the checks pass, click Next.
If using a wizard with Auto Schema Conversion, continue with Using Auto Schema Conversion. Otherwise, select the tables to be read and click Next.
If your wizard's target is not to Striim, continue with Configuring a wizard target.
If your wizard's target is to Striim, your new application will open in the Flow Designer.
Using Auto Schema Conversion
Caution
Foreign key constraints must be disabled in the target before beginning initial load and re-enabled after initial load is complete (see, for example, Learn > SQL > SQL Server > Disable foreign key constraints with INSERT and UPDATE statements).
Note
Known issue (DEV-31163): when the target is Snowflake, you must create the schemas manually.
Select the schemas you want to copy to the target, then click Next.
If validation is successful, click Next. Otherwise, click Back and resolve any issues.
For each schema, select the tables to copy. Any tables with data types that can not be mapped to the target (see Data type support & mapping for schema conversion & evolution) will be greyed out and can not be copied. When done, click Next.
Continue with Configuring a wizard target.
Configuring a wizard target
Complete the steps in Configuring a wizard source.
Enter the appropriate properties. For more information, see the Targets entry for the selected target type.
By default, the case of source table schema and table names will be preserved in the target. To avoid that, edit the Tables property and remove all double quotes.
With a CDC source and a to Azure SQL Database, to Azure SQL Data Warehouse, or to Database target, for the Tables property, specify the source and target table names, separated by commas, separating each source-target pair with a semicolon: for example,
dbo.Jobs,mydb.Jobs;dbo.Region,mydb.Region
. Alternatively, use wildcards (see the discussion of the Tables property in Database Writer).If using an automated pipeline wizard, after Striim validates your settings, click Save & Start to start the app, or click Save & Exit if you want to modify the application in Flow Designer, or are not ready to run it yet.
If using an initial load wizard with Auto Schema Conversion and you want to start initial load, click Migrate my schemas and move data. Otherwise, click Take me to Flow Designer.
If using an initial load wizard without Auto Schema Conversion, click Next. Your new application will open in the Flow Designer.
Before enabling recovery for a wizard-created app with a to Azure SQL DB or to Database target, follow the instructions for the target DBMS in Creating the checkpoint table.