Sign inSign up

slotix/dbs-target-writer

By slotix

•Updated over 2 years ago
Archived

DBConvert Streams Target Writer

Image
Databases & storage
0

1.1K

slotix/dbs-target-writer repository overview

"DBConvert Streams"⁠ is distributed, event-driven replication for databases.

The DBS platform consists of the following parts:

  • DBS API Server
  • DBS Source Reader
  • DBS Target Writer

DBS Target Writer is one of the integral components of the DBConvert Streams platform. It writes collected events from the source to the specified target.

DBS Target Writer instance listens on port 8022 by default.

Since DBConvert Streams depends on multiple services, the best way to start docker containers using Docker Compose⁠.

Here is a simple example of docker-compose configuration for staring DBConvert Streams.

version: "3.9"
services:
  dbs-api:
    container_name: api
    image: slotix/dbs-api
    entrypoint:
      - ./dbs-api
      - --nats=nats:4222
      - --source=source-reader:8021
      - --target=target-writer:8022
    ports:
      - 8020:8020
    depends_on:
      - nats

  dbs-source-reader:
    container_name: source-reader
    image: slotix/dbs-source-reader
    entrypoint:
      - ./dbs-source-reader
      - --nats=nats:4222
    ports:
      - 8021:8021
    depends_on:
      - nats

  dbs-target-writer:
    container_name: target-writer
    image: slotix/dbs-target-writer
    entrypoint:
      - ./dbs-target-writer
      - --nats=nats:4222
    ports:
      - 8022:8022
    depends_on:
      - nats


  nats:
    container_name: nats
    image: nats
    entrypoint: /nats-server
    command: "--jetstream -m 8222 --store_dir /data/nats-server"
    ports:
      - 4222:4222
      - 8222:8222
    volumes:
      - ./_storage/nats:/data/nats-server/jetstream

  prometheus:
    image: slotix/dbs-prometheus:latest
    container_name: prom
    user: root
    ports:
      - 9090:9090
    volumes:
      - ./_storage/prometheus:/prometheus

Copy content of the docker-compose config above and save it as docker-compose.yml file.

⁠Run

docker-compose up

⁠Examples

For actual examples and configurations, refer to the public DBConvert Streams Github repository⁠

Tag summary

Content type

Image

Digest

sha256:521633857…

Size

7.1 MB

Last updated

over 2 years ago

docker pull slotix/dbs-target-writer