Git Product home page Git Product logo

debezium-playground's Introduction

Step

https://github.com/debezium/debezium-examples/tree/main/tutorial

  1. Build oracle docker image.

    ./src/oracle/buildOracleImage.sh
  2. Docker compose up

    cd ./src/
    docker compose up --build
  3. Prepare oracle directory

    docker exec -i src-oracle-1 bash -c "mkdir /opt/oracle/oradata/recovery_area"
  4. Initialize Oracle

    docker exec -it src-oracle-1 bash
    # src/setup/setup-logminer.sh の内容をたたく
  5. Register logminer

    Original: https://github.com/debezium/oracle-vagrant-box/blob/main/setup-logminer.sh
    Hint: https://access.redhat.com/documentation/ja-jp/red_hat_integration/2022.q1/html/debezium_user_guide/descriptions-of-debezium-oracle-connector-configuration-properties

    cd ./src/setup
    curl -i -X POST -H "Accept:application/json" -H  "Content-Type:application/json" http://localhost:8083/connectors/ -d @register-oracle-logminer.json
  6. PDB でテーブル作成後データインサートすると Kafka のトピックにデータが流れる

    run inventory.sql

SQL Plus

sqlplus sys/Passw0rd@//localhost:1521/XE as sysdba
sqlplus sys/Passw0rd@//localhost:1521/XEPDB1 as sysdba

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.