Skip to main content
Skip table of contents

Reporting Connector

The reporting-connector is a specialized Java based component used in ETL (Extract, Transform, Load) jobs to facilitate the extraction, transformation, and loading of reporting data from various sources into a centralized reporting database. This component is designed to streamline the reporting process by providing a robust and flexible solution for integrating disparate data sources and preparing the data for analysis and reporting.

Key Features

  1. Data Extraction:

    • Multiple Data Sources: Supports extraction from data sources such as databases (MongoDB).

    • Custom Queries: Allows the use of custom queries for precise data extraction tailored to specific reporting needs.

    • Incremental Load: Supports incremental data extraction/batch data processing to optimize performance and reduce load times by extracting only new or modified data since the last load.

  2. Data Transformation:

    • Data Cleansing: Includes features for data cleansing such as removing duplicates, handling missing values, and standardizing data formats.

    • Data Mapping: Provides mapping capabilities to transform source data fields into the desired target schema.

    • Aggregation and Calculation: Supports aggregation and calculation operations necessary for generating meaningful insights and metrics.

  3. Data Loading:

    • Target Systems: Can load data into various reporting databases ( currently MySQL and MSSQL).

    • Batch data processing: Supports batch and configurational data loading to accommodate different reporting requirements.

  4. Monitoring and Logging:

    • Detailed Logging: Maintains detailed logs of all ETL operations for audit purposes and troubleshooting.

Use Cases

  • Business Intelligence: Aggregating and transforming data from multiple sources to create comprehensive reports and dashboards for business analysis.

  • Data Warehousing: Loading transformed data into a centralized data warehouse for long-term storage and analysis.

  • Operational Reporting: Generating operational reports by extracting data from transactional systems and loading it into a reporting database.

  • Regulatory Compliance: Ensuring data is processed and reported in compliance with industry regulations and standards.

Reporting Connector technical insights

1. ETL Jobs
2. Reporting Database Schema


Reporting Connector setup using Talend Open Studio.

Pre-requisites

  1. Download Talend Open Studio For Big Data / 8.0.1.

  2. Clone the reporting-connector project from the develop branch using the following command.

    JS
    git clone https://gitlab.expertflow.com/cim/reporting-connector.git

Setup

  1. Navigate to the downloaded Talend setup directory into your local system.

  2. For Windows click on TOS_BD-win-x86_64 to start Talend Open Studio.

    image-20231222-142040.png

  3. Click on import an existing project and select project from reporting-connector ( local repository ).

    image-20231222-143903.png


    image-20231222-144044.png

  4. This is how the Talend UI looks, with distinct directories for MySQL and MSSQL ETL jobs.

    image-20231222-144543.png

Database connection setup for SQL

It is assumed that you are already familiar with creating MySQL databases and have right access of MySQL server.

MSSQL connection would follow a similar procedure.

  1. Toggle to Metadata ->Db connections ->mysql 1.0 and click on Edit connection option from the menu.

    image-20231222-145122.png

  2. Click on Export as context button from the window that appears.

    image-20231222-145324.png

  3. Click on Reuse an existing repository context.

    image-20231222-145448.png

  4. Select context_params file and assign the following fields to database connection parameters.

    image-20231222-150056.png

  5. Click on test connection to verify MySQL connection.

    image-20231222-150214.png

Database connection setup for NO-SQL( mongoDb )

The similar steps should be performed for establishing connection with all the mongoDb databases one by one.

The ( database ) property must be carefully assign to the selected database.

  1. Toggle to Metadata ->NoSQL connections ->adminPanel 1.0 and click on Edit connection option from the menu.

    image-20231222-155911.png

  2. Click on Export as context button from the window that appears.

    image-20231222-160127.png
  3. Click on Reuse an existing repository context.

image-20231222-160148.png
  1. Select context_params file and assign the following fields to database connection parameters.

    image-20231222-160423.png

  2. Click on test connection to verify MongoDb connection.

image-20231222-160515.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.