Giter Club home page Giter Club logo

kafka-debezium-oracle-docker-setup's Introduction

Kafka-Debezium with Oracle LogMiner Setup

This guide outlines the setup for Kafka with Debezium and Oracle LogMiner using Docker.

Table of Contents

  1. Prerequisites
  2. Setup
  3. Scripts
  4. Connectors
  5. Other Information
  6. Contact

Prerequisites

Before you begin, make sure you have the following prerequisites installed and configured on your system:

  • Docker: Required for running containers.
  • Docker Compose: Used for managing multi-container Docker applications.
  • Git: Optional, but useful for cloning the repository.

Setup

To get started with Kafka and Debezium with Oracle LogMiner, follow these steps:

  1. Build the Debezium Connect image with OJDBC8:

    docker build -t jdbc-debezium-connect .
    
  2. Start the containers using Docker Compose:

    docker-compose up
    
    • Use docker-compose up -d to run as a daemon (optional).
    • Use docker-compose down to stop the Docker containers.

Scripts

1. create_logminer_user.sh

This script creates the Oracle LogMiner user with all the required permissions.

2. setup_image_docker.sh

Use this script to build the Oracle Docker image from the official Oracle docker-images repository. By default, it will build version 19.3.0e.

3. run.sh

Run this script to start the Docker container with Kafka, Debezium, and the Oracle database with the JDBC connector configured.


Connectors

You can manage connectors using the following commands:

  • Get connectors:

    curl -i -X GET http://localhost:8083/connectors/
    
  • Load a connector (example using oracle-logminer.json):

    curl -i -X POST -H "Accept: application/json" -H "Content-Type: application/json" http://localhost:8083/connectors/ -d @oracle-logminer.json
    
  • Delete a connector (replace oracle-connector with the connector name):

    curl -i -X DELETE http://localhost:8083/connectors/oracle-connector
    
  • Check Connector Status:

    curl -i -X GET http://localhost:8083/connectors/oracle-connector/status
    
  • List Connector Tasks:

    curl -i -X GET http://localhost:8083/connectors/oracle-connector/tasks
    

You can also check the status and troubleshoot any problems with the connectors.


Other Information


Contact

kafka-debezium-oracle-docker-setup's People

Contributors

asman1337 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.