Cloud SQL

Data can be emitted using the Cloud SQL component. You can select this component from the components panel and join it with the pipeline to configure.

Configuring Cloud SQL Emitter

Under the configuration tab the below details are available:

FieldDescription
Connection NameConnections are the Service identifiers. Select the connection name from the drop-down list.
Override CredentialSelect the override credentials option check-box for overriding the credentials.
UsernameProvide the database username that has access to data.
PasswordProvide the database user password. Click TEST CONNECTION button to test the connection.
Message NameThe name for the message configuration that will act as a metadata for the actual data from source.
Schema NameSelect the table name from the dropdown to show the table properties.
Table NameExisting table name for the specified database.
Is Batch EnabledEnable parameter to batch multiple parameters to improve the write performance. Option available are TRUE/FALSE.
Batch SizeProvide value for batch size that would determine the rows to be inserted per round trip. This can help performance on JDBC drivers. This option is application only on writing. Default value is 1000.
Connection RetriesThe number of retries for component connection. Possible values are -1, 0 or positive number where -1 signifies multiple retries.
Delay Between Connection RetriesThis option lets you define the retry delay interval (milliseconds) for component connection.
Save ModeSave mode specifies how to handle existing data (if present) in case of batch source. Save Mode is used to specify the expected behavior of saving data to a data sink. Available options are: Append: When persisting data, if data/table already exists, contents of the Schema are expected to be appended to existing data. Overwrite: When persisting data, if data/table already exists, existing data is expected to be overwritten by the contents of the Data. ErrorifExist: When persisting data, if the data already exists, an exception is expected to be thrown. Ignore: When persisting data, if data/table already exists, the save operation is expected to not save the contents of the Data and to not change the existing data. Update: Output Mode in which only the rows that were updated in the streaming data will be written to the sink every time there are some updates.
Update OnlyThis option can be used if Output Mode is selected as Update since it updates the existing data with the help of primary key.
Ignore ValuesEnable the check-box to ignore the value for incoming data.
PriorityThis option let you decide the priority to execute orders for emitters.
ADD CONFIGURATIONClick the ADD CONFIGURATION button to add further configurations as key-value pair.
Environment ParamsClick the ADD PARAMS option to add further parameters as key-value pair.
Schema ResultsUnder the Schema Results you can see Table Column Name, Mapping Value, Database Datatype exampe: varchar, int etc., Ignore All. You have an option to ignore a particular column by clicking at the check-box. If you click Ignore All then the first column remains unchecked since a minimum of one column mapping is required. Other options available are: Auto Fill, Auto Fill Sequentially, Download Mapping and Upload Mapping as shown in the image below.

schema_results_cloud_sql

Top