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
- Host: GitHub
- URL: https://github.com/iperdomo/xtdb-pg-sample
- Owner: iperdomo
- License: other
- Created: 2021-06-05T10:17:51.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T18:42:01.000Z (over 1 year ago)
- Last Synced: 2025-01-20T06:33:48.621Z (12 months ago)
- Topics: clojure, postgresql, sample, xtdb
- Language: Clojure
- Homepage:
- Size: 14.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/.