Coder Social home page Coder Social logo

repayright / debezium-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from debezium/debezium-ui

0.0 0.0 0.0 17.15 MB

A web UI for Debezium; Please log issues at https://issues.redhat.com/browse/DBZ.

Home Page: https://debezium.io

License: MIT License

Shell 0.35% JavaScript 4.98% TypeScript 93.68% CSS 0.47% HTML 0.17% Dockerfile 0.34%

debezium-ui's Introduction

License User chat Developer chat Google Group Stack Overflow

Copyright Debezium Authors. Licensed under the Apache License, Version 2.0.

Debezium UI

image

Debezium is an open source distributed platform for change data capture (CDC).

This repository contains a web-based UI for Debezium, allowing to configure Debezium connectors in an intuitive way, control their lifecycle, and more. The Debezium UI is a React-based Single Page Application code based on Patternfly 5, which connects to Kafka Connect via its REST API.

This project is under active development, any contributions are very welcome.

Requirements

node (version 16.x.x or higher) and npm (version 8.x.x or higher).

Quick-start

To quickly start react based web app UI.

git clone https://github.com/debezium/debezium-ui
cd debezium-ui
npm install && export KAFKA_CONNECT_CLUSTERS={kafka-cluster-URLs} && npm run start:dev

kafka-cluster-URLs is comma separated list of kafka connect cluster URL's.

Debezium UI will be available on http://localhost:9000

Running UI app with local Dev env. setup

Prerequisites

With the latest update to Debezium UI you need a properly running Debezium instance version 2.5 or newer with Debezium kafka connect rest extension enabled and running DB instances, depending on what connectors you are going to use (Postgres, Mongo DB, MySQL, etc). see example set of the configuration options here

DEV Infrastructure with Docker-Compose

git clone https://github.com/debezium/debezium-ui
cd debezium-ui

You can setup a running DEV infrastructure with Zookeeper, Kafka, Debezium, MySql, Postgres, SQL Server and Mongo DB using docker compose:

## start containers
$ DEBEZIUM_VERSION={DEBEZIUM_VERSION} docker compose up -d

[+] Running 8/8
 ✔ Network debezium-ui_default
 ✔ Container zookeeper  Started
 ✔ Container mysql      Started
 ✔ Container sqlserver  Started
 ✔ Container postgres   Started
 ✔ Container mongodb    Started
 ✔ Container kafka      Started
 ✔ Container connect    Started

Kafka Connect REST API with Debezium will be available on local port 8083.
Postgres will be available on local port 5432.
MySQL will be available on local port 3306.
SqlServer will be available on local port 1433 Mongo DB will be available after ~20 seconds on local port 27017 (connect via mongo -u debezium -p dbz --authenticationDatabase admin localhost:27017/inventory).

Kafka will be available on local port 9092.

UI Development

Install all the dependencies

npm install

Running UI web app targeting local dev setup

export KAFKA_CONNECT_CLUSTERS={http://localhost:8083/} && npm run start:dev

Debezium UI will be available on http://localhost:9000

Cleanup

later stop running containers.

$ DEBEZIUM_VERSION=2.5 docker compose down

[+] Running 8/7
 ✔ Container connect    Removed
 ✔ Container mongodb    Removed
 ✔ Container mysql      Removed
 ✔ Container postgres   Removed
 ✔ Container kafka      Removed
 ✔ Container sqlserver  Removed
 ✔ Container zookeeper  Removed
 ✔ Network debezium-ui_default        Removed

Development scripts

# Install development/build dependencies
npm install

# Start the development server
npm run start:dev

# Run a production build (outputs to "dist" dir)
npm run build

# Run the test suite
npm run test

# Run the test suite with coverage
npm run test:coverage

# Run the linter
npm run lint

# Run the code formatter
npm run format

# Launch a tool to inspect the bundle size
npm run bundle-profile:analyze

# Start the express server (run a production build first)
npm run start

# Start storybook component explorer
npm run storybook

# Build storybook component explorer as standalone app (outputs to "storybook-static" dir)
npm run build:storybook

Contributing

The Debezium community welcomes anyone that wants to help out in any way, whether that includes reporting problems, helping with documentation, or contributing code changes to fix bugs, add tests, or implement new features. See this document for details.

debezium-ui's People

Contributors

indraraj avatar renovate-bot avatar renovate[bot] avatar mdrillin avatar uidoyen avatar rk3rn3r avatar naros avatar ani-sha avatar gunnarmorling avatar vjuranek avatar jpechane avatar cluas avatar dude0001 avatar brbrown25 avatar jcechace avatar raphaelauv 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.