sql

command
v0.0.0-...-11208a8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 11 Imported by: 0

README

sql

A work in progress.

A Postgresql importer for Zeebe NATS Streaming exporter.

WARNING: This is not ready for production. Please use at your own risk.


Getting Started

To set-up the database, you can use Soda CLI (see commands below) or you can apply the migrations/schema.sql to your Postgresql database.

For the former, you need to add your Postgresql environment in database.yml, and run the commands in this directory (where this README.md lives).

# Create Database
soda create -a

# Run Migrations
soda migrate up

# Destroy Database
soda drop -a

As this project is still in development, there are no packaged binary or Docker image for the importer.

To run the importer, go run *.go.

Various credentials are currently hardcoded, but there will be work to make them configurable.

TODO

  • Build proper CLI with configurations
  • Handle VariableRecord
  • Handle IncidentRecord
  • Handle MessageRecord
  • Handle MessageSubscriptionRecord

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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