lookatch-agent

command module
v0.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

lookatch

version Build Status Go Report Card codecov

Lookatch is a pure Go client for dealing with Query and change data capture (CDC)

That way, you can process data no matter the backend it comes from and feed any application with changes that remotely happened on databases.

Configuration standalone example
{
  "agent": {
    "env": "<environement string>",
    "loglevel": 5,
  },
  "sinks": {
    "default": {
      "enabled": true,
      "type" : "Stdout"
    }
  },
  "sources": {
    "default": {
      "autostart": true,
      "enabled": true,
      "dummy" : "test",
      "type" : "dummy",
      "sinks": ["default"]
    }
  }
}
Configuration remote example
{
  "agent": {
    "loglevel": "debug"
  },
  "controller": {
    "base_url": "http://localhost:8080",
    "poller_ticker" : "10s"
  },
  "sinks": {

  },
  "sources": {

  }
}

Run

Export your credentials as environment variables.

export TENANT=xxxxx
export UUID=xxxxx
export SECRETKEY=xxxxx
lookatch-agent run -c config.json

Documentation

Overview

Package lookatch is a pure Go client for dealing with Query and change data capture (CDC)

Coupled to an ingest business layer (not part of this project), it makes it possible for you to process your data in the same way, no matter the database backend they come from. You can then feed any application you may need so that they can react almost in real time to the changes in your configured source data.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL