GithubHelp home page GithubHelp logo

oracle-logminer-flink-cdc-delta-lake's Introduction

WIP: Demo Oracle/Postgres to Delta Lake/Hudi using Flink CDC and Debezium standalone

An exploration of Flink and change-data-capture (CDC).

docker-compose up --force-recreate
docker compose -f docker-compose.yaml -f docker-compose-oracle.yaml up --force-recreate
docker compose -f docker-compose.yaml -f docker-compose-postgres.yaml up --force-recreate --renew-anon-volumes
docker compose -f docker-compose-postgres-debezium.yaml up

In order to start the SQL Client run

docker compose run sql-client

Requirements

Some dependencies are needed for the Flink application to work properly which entail some explanation

  • delta-flink1.16-bundle-1.0 - Fat jar with all required dependencies of Delta
  • hadoop-aws (excl. aws-java-sdk-bundle), flink-s3-fs-hadoop (implicit aws-java-sdk-s3) - Necessary dependencies for the integration between S3A and Hudi/Delta without the big fat aws-java-sdk-bundle.
  • hudi-flink1.16-bundle-0.13.1 - Package provided by Hudi developers, with all the necessary dependencies to work with the technology.
  • flink-sql-connector-postgres-cdc-2.4.0 - Necessary dependencies for the integration between Postgres and Flink SQL CDC
  • flink-sql-connector-oracle-cdc-2.5-SNAPSHOT - Necessary dependencies for the integration between Oracle 21 and Flink SQL CDC

How to create the fat jar delta-flink1.16-bundle-1.0

You can build the fat jar by using command maven clean package in directory delta-flink-bundle. The used pom.xml is mostly similar to the example pom.xml as specified by Delta.

Three different ways to implement CDC

Flink CDC & Flink SQL

Flink CDC & DataStream API

Add the application JAR using the Flink UI.

Using Debezium & Kafka Connect

Follow the instructions on how to use Debezium to monitor a Oracle database using Kafka Connect.

Show the Demo environment

The demo environment consists of the following components.

Minio (S3-compatible Storage)

Flink JobManager and TaskManager

oracle-logminer-flink-cdc-delta-lake's People

Contributors

rbreejen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.