4.2.1.5 Creating a GoldenGate Data Stream
- A GoldenGate connection.
- A database connection to Oracle DB.
- Ensure that the GoldenGate Extract process is running and capturing data into trail files.
- Ensure GGSA can connect to GoldenGate endpoints over HTTPS/WSS.
- Ensure that the Distribution Service APIs are enabled and accessible, to create and manage Data Streams.
To create a GoldenGate Data Stream:
- On the Catalog page, click Create New Item.
- Hover the mouse over Stream and select GoldenGate Data Stream from the submenu.
- On the Type Properties screen, enter the
following details:
- Name: Enter a unique name for the stream. This is a mandatory field.
- Display Name: Enter a display name for the stream. If left blank, the Name field value is copied.
- Description
- Tags
- Stream Type: The selected stream is displayed.
- Click Next.
- On the Source Details page, enter the
following details:
-
Connection: Select a GoldenGate connection from the drop-down.
-
Select Deployment: Select a GoldenGate deployment from the drop-down. The drop-down lists the deployments of the chosen GoldenGate connection.
- Create a Data Stream: Select this
option to create a new stream on GoldenGate as well as the GGSA UI.
- Table Mode: Choose a Single Table or a Multi Table mode
- Enter New Stream Name
- Select DB Connection: Select a DB connection from the drop-down.
- Select Trail: Select a Trail that is existing on GoldenGate. A trail contains the Extract information.
- Select Table: Select a table or multiple tables according to the table mode you have selected earlier.
- Select Existing Stream: Select exisiting stream from the drop-down.
-
- Click Next.
- On the Data Format screen, select
Flattened JSON to split the shape into the selected
table column fields:
(before_columnname, after_columnname. Select JSON format to retain raw JSON format.Note:
Flattened JSON format option is available only the Single Table mode. - Click Next.
- On the Shape screen, select one of the
methods to define the shape:
-
Select Existing Shape: Select one of the existing shapes from the drop-down list.
-
Manual Shape: Select this option to manually infer the fields from a stream or file. You can also update the datatype of the fields.
-
Detect Shape from Table: Select this option to detect the shape automatically from the database table.
-
- Click Save.