An open API service indexing awesome lists of open source software.

https://github.com/iperdomo/xtdb-pg-sample

Example of using XTDB with PostgreSQL for transaction log and document store
https://github.com/iperdomo/xtdb-pg-sample

clojure postgresql sample xtdb

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# xtdb-pg-sample

An example repository using [XTDB](https://xtdb.com/) 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://v1-docs.xtdb.com/storage/jdbc/

## Usage

The development environment used [Docker](https://docs.docker.com/get-docker/) and
[docker-compose](https://docs.docker.com/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 (C) 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/.