Skip to content

Pirionfr/lookatch-agent

Repository files navigation

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

About

lookatch allows you to replicate and synchronize your database

Resources

License

Stars

Watchers

Forks

Packages

No packages published