Setting Up an Integration Project Setting up Data Quality

28 Oracle Changed Data Capture Adapters 28-1 28 Oracle Changed Data Capture Adapters This chapter describes how to work with Oracle Changed Data Capture Adapters as well as with Attunity Stream in order to integrate changes captured on legacy sources using Oracle Data Integrator. This chapter includes the following sections: ■ Section 28.1, Introduction ■ Section 28.2, Installation and Configuration ■ Section 28.3, Setting up the Topology ■ Section 28.4, Setting Up an Integration Project ■ Section 28.5, Creating and Reverse-Engineering an Attunity Stream Model ■ Section 28.6, Designing an Interface Using the LKM Attunity to SQL

28.1 Introduction

Oracle Changed Data Capture Adapters offer log-based change data capture CDC for enterprise data sources such as CICS, VSAM, Tuxedo, IMS DB, and IMS TM. Captured changes are stored in a storage called Staging Area which is different from the Oracle Data Integrator interfaces’ staging areas. Attunity Stream is part of the Attunity Integration Suite AIS and provides the same features as the Oracle Changed Data Capture Adapters. In this section, we will refer to both products as Attunity Stream. The Attunity Stream Staging Area contains the Change Tables used by Attunity Stream to store changes captured from the sources. It maintains the last position read by Oracle Data Integrator This is the Attunity Stream Context, which is different from the Oracle Data Integrator Context concept and starts at this point the next time a request from Oracle Data Integrator is received. The Change Tables are accessed through Attunity Stream Datasources. Oracle Data Integrator uses Attunity Stream datasources as a sources of integration interfaces. They cannot be used as target or staging area. Journalizing or data quality check is not possible on this technology.

28.1.1 Concepts

The Attunity Stream concepts map the Oracle Data Integrator concepts as follows: One Workspace within an Attunity Agent or Daemon listening on a port corresponds to one data server in Oracle Data Integrator. Within this Daemon, each Datasource or DatasourceOwner pair corresponds to one ODI Physical Schema. In each 28-2 Oracle® Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator datasource, the Change Tables appear as ODI Datastores in an ODI model based on the Attunity technology.

28.1.2 Knowledge Modules

Oracle Data Integrator provides the LKM Attunity to SQL for handling Attunity Stream data. The KMs use Attunity Stream specific features. The Oracle Data Integrator CDC Knowledge Module provides integration from Attunity Stream Staging Areas via a JDBC interface. It is able to: ■ Read Attunity Stream data from Attunity Stream Data Sources. ■ Load this Attunity Stream data into an ANSI SQL-92 compliant database used as a staging area in Oracle Data Integrator staging area. ■ Handle the Attunity Stream Context to ensure consistent consumption of the changes read. Using the data provided in the Attunity staging area, the Oracle CDC KM cleans the working environment dropping temporary tables, determines and saves Attunity Stream Context information, loads the journalized data into the collect table and purges the loaded data from the journal.

28.2 Installation and Configuration

Make sure you have read the information in this section before you start using the Oracle Knowledge Modules: ■ System Requirements ■ Technology Specific Requirements ■ Connectivity Requirements

28.2.1 System Requirements

Before performing any installation you should read the system requirements and certification documentation to ensure that your environment meets the minimum installation requirements for the products you are installing. The list of supported platforms and versions is available on Oracle Technical Network OTN: http:www.oracle.comtechnologyproductsoracle-data-integrator index.html .

28.2.2 Technology Specific Requirements

Please review the Attunity Streams or Oracle Changed Data Capture Adapters documentation for the requirements and instruction for installing and setting up Streams for your source servers. Note: Although Attunity Stream is used to capture changes in source systems, it is used as a regular JDBC source only an LKM is used. The Oracle Data Integrator journalizing framework JKM is not used for this technology.