iperdomo / xtdb-pg-sample

Example of using XTDB with PostgreSQL for transaction log and document store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xtdb-pg-sample

An example repository using XTDB with PostgreSQL as transaction log and document store.

JDBC transaction logs and document stores depend on a 'connection pool' component - if you use both, they can share the same connection pool.

https://docs.xtdb.com/storage/jdbc/

Usage

The development environment used Docker and docker-compose

Start the system

docker-compose up -d

After startup you'll have a running nREPL server running on localhost:47480. Connect to it (e.g., cider-connect) and load the xtdb-pg-sample.core namespace.

License

Copyright © 2021 Iván Perdomo

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

About

Example of using XTDB with PostgreSQL for transaction log and document store

License:Other


Languages

Language:Clojure 100.0%