Skip to content

Commit 33b81d7

Browse files
authored
Merge pull request #205 from kalamstack/027-pg-transactions
027 pg transactions
2 parents fecc3e3 + 469ec5c commit 33b81d7

32 files changed

Lines changed: 172 additions & 181 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,4 @@ ts-sdk-repro/server.toml
120120
/target-pg-e2e-isolated
121121
/benchv2/logs
122122
/benchv2/logs
123+
link/sdks/typescript/client/.npmrc

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ edition = "2021"
5656
rust-version = "1.92"
5757
authors = ["KalamDB Team"]
5858
license = "Apache-2.0"
59-
repository = "https://github.com/jamals86/KalamDB"
59+
repository = "https://github.com/kalamstack/KalamDB"
6060

6161
# Shared dependencies for all crates
6262
[workspace.dependencies]

README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
<p align="center">
66
<a href="https://www.rust-lang.org/"><img src="https://img.shields.io/badge/rust-1.92%2B-orange.svg" alt="Rust" /></a>
77
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/license-Apache%202.0-blue.svg" alt="License" /></a>
8-
<a href="https://github.com/jamals86/KalamDB/actions/workflows/ci.yml"><img src="https://github.com/jamals86/KalamDB/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
9-
<a href="https://github.com/jamals86/KalamDB/actions/workflows/ci.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jamals86/KalamDB/main/.github/badges/tests.json" alt="Overall Tests" /></a>
10-
<a href="https://github.com/jamals86/KalamDB/releases"><img src="https://img.shields.io/github/v/release/jamals86/KalamDB?display_name=tag" alt="Release" /></a>
8+
<a href="https://github.com/kalamstack/KalamDB/actions/workflows/ci.yml"><img src="https://github.com/kalamstack/KalamDB/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
9+
<a href="https://github.com/kalamstack/KalamDB/actions/workflows/ci.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/kalamstack/KalamDB/main/.github/badges/tests.json" alt="Overall Tests" /></a>
10+
<a href="https://github.com/kalamstack/KalamDB/releases"><img src="https://img.shields.io/github/v/release/kalamstack/KalamDB?display_name=tag" alt="Release" /></a>
1111
<a href="https://hub.docker.com/r/jamals86/kalamdb"><img src="https://img.shields.io/docker/pulls/jamals86/kalamdb" alt="Docker Pulls" /></a>
1212
<a href="https://hub.docker.com/r/jamals86/pg-kalam"><img src="https://img.shields.io/docker/pulls/jamals86/pg-kalam?label=pg-kalam%20docker" alt="pg-kalam Docker Pulls" /></a>
1313
</p>
1414

1515
<p align="center"><strong>SDKs</strong></p>
1616

1717
<p align="center">
18-
<a href="https://github.com/jamals86/KalamDB/actions/workflows/sdks.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jamals86/KalamDB/main/.github/badges/sdk-typescript-tests.json" alt="TypeScript SDK Tests" /></a>
19-
<a href="https://github.com/jamals86/KalamDB/actions/workflows/sdks.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/jamals86/KalamDB/main/.github/badges/sdk-dart-tests.json" alt="Dart SDK Tests" /></a>
18+
<a href="https://github.com/kalamstack/KalamDB/actions/workflows/sdks.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/kalamstack/KalamDB/main/.github/badges/sdk-typescript-tests.json" alt="TypeScript SDK Tests" /></a>
19+
<a href="https://github.com/kalamstack/KalamDB/actions/workflows/sdks.yml"><img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/kalamstack/KalamDB/main/.github/badges/sdk-dart-tests.json" alt="Dart SDK Tests" /></a>
2020
<a href="https://www.npmjs.com/package/@kalamdb/client"><img src="https://img.shields.io/npm/v/%40kalamdb%2Fclient?label=typescript%20sdk" alt="TypeScript SDK" /></a>
2121
<a href="https://pub.dev/packages/kalam_link"><img src="https://img.shields.io/pub/v/kalam_link?label=dart%20sdk" alt="Dart SDK" /></a>
2222
</p>
@@ -54,15 +54,6 @@ This is what lets chat UIs and agent apps read/write state directly and receive
5454

5555
## Feature & Status
5656

57-
- **User Tables**: First-class `USER` tables provide per-user isolation so the same SQL can safely serve frontend and backend clients.
58-
- **Shared Tables and SQL Storage**: Standard SQL tables support application state, relational data modeling, and transactional reads and writes.
59-
- **Streams and Pub/Sub**: Built-in topics, consumer groups, `CONSUME`, and `ACK` support event-driven backends and AI agent workflows.
60-
- **Live Queries**: WebSocket-backed subscriptions keep clients synchronized in realtime without polling.
61-
- **Cluster Replication**: Multi-Raft clustering enables multi-node deployments, failover, and replicated state.
62-
- **Vector Workloads**: Native `EMBEDDING(dimension)` support enables vector storage and semantic retrieval workflows.
63-
- **PostgreSQL Extension**: `pg_kalam` integrates PostgreSQL with a running KalamDB instance through the bundled FDW.
64-
- **Admin and Developer Tooling**: KalamDB ships with an Admin UI, the `kalam` CLI, and official TypeScript and Dart SDKs.
65-
6657
| Feature | Status | Feature | Status |
6758
| :-------------------------- | :----------- | :---------------------- | :----------- |
6859
| **User Tables** | ✅ Available | **Shared Tables** | ✅ Available |
@@ -79,20 +70,20 @@ This is what lets chat UIs and agent apps read/write state directly and receive
7970

8071
```bash
8172
KALAMDB_JWT_SECRET="$(openssl rand -base64 32)" \
82-
curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/single/docker-compose.yml | docker-compose -f - up -d
73+
curl -sSL https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/single/docker-compose.yml | docker-compose -f - up -d
8374
```
8475

8576
### 3-node cluster
8677

8778
```bash
8879
KALAMDB_JWT_SECRET="$(openssl rand -base64 32)" \
89-
curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/cluster/docker-compose.yml | docker-compose -f - up -d
80+
curl -sSL https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/cluster/docker-compose.yml | docker-compose -f - up -d
9081
```
9182

9283
### Local run
9384

9485
```bash
95-
git clone https://github.com/jamals86/KalamDB.git
86+
git clone https://github.com/kalamstack/KalamDB.git
9687
cd KalamDB/backend
9788
cargo run --bin kalamdb-server
9889
```

docker/REPO-README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ curl -X POST http://localhost:8080/v1/api/sql \
6464

6565
### 📄 Single-node compose file
6666

67-
- GitHub view: https://github.com/jamals86/KalamDB/blob/main/docker/run/single/docker-compose.yml
68-
- Raw file: https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/single/docker-compose.yml
67+
- GitHub view: https://github.com/kalamstack/KalamDB/blob/main/docker/run/single/docker-compose.yml
68+
- Raw file: https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/single/docker-compose.yml
6969

7070
### 🧱 3-node cluster compose file
7171

72-
- GitHub view: https://github.com/jamals86/KalamDB/blob/main/docker/run/cluster/docker-compose.yml
73-
- Raw file: https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/cluster/docker-compose.yml
72+
- GitHub view: https://github.com/kalamstack/KalamDB/blob/main/docker/run/cluster/docker-compose.yml
73+
- Raw file: https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/cluster/docker-compose.yml
7474

7575
### ⚡ Start single node with compose
7676

@@ -102,14 +102,14 @@ Single node:
102102

103103
```bash
104104
KALAMDB_JWT_SECRET=replace-with-a-32-char-secret \
105-
curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/single/docker-compose.yml | docker compose -f - up -d
105+
curl -sSL https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/single/docker-compose.yml | docker compose -f - up -d
106106
```
107107

108108
3-node cluster:
109109

110110
```bash
111111
KALAMDB_JWT_SECRET=replace-with-a-32-char-secret \
112-
curl -sSL https://raw.githubusercontent.com/jamals86/KalamDB/main/docker/run/cluster/docker-compose.yml | docker compose -f - up -d
112+
curl -sSL https://raw.githubusercontent.com/kalamstack/KalamDB/main/docker/run/cluster/docker-compose.yml | docker compose -f - up -d
113113
```
114114

115115
## 🖥️ Open the UI
@@ -270,7 +270,7 @@ docker volume rm kalamdb_data
270270
## 🔗 Links
271271

272272
- Docker Hub: https://hub.docker.com/r/jamals86/kalamdb
273-
- GitHub: https://github.com/jamals86/KalamDB
273+
- GitHub: https://github.com/kalamstack/KalamDB
274274
- Docs: https://kalamdb.org/docs
275-
- Single-node compose: https://github.com/jamals86/KalamDB/blob/main/docker/run/single/docker-compose.yml
276-
- Cluster compose: https://github.com/jamals86/KalamDB/blob/main/docker/run/cluster/docker-compose.yml
275+
- Single-node compose: https://github.com/kalamstack/KalamDB/blob/main/docker/run/single/docker-compose.yml
276+
- Cluster compose: https://github.com/kalamstack/KalamDB/blob/main/docker/run/cluster/docker-compose.yml

docker/build/Dockerfile.prebuilt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ RUN apt-get update && \
4444
ARG OCI_IMAGE_TITLE="KalamDB"
4545
ARG OCI_IMAGE_DESCRIPTION="SQL-first realtime state database for AI agents, chat products, and multi-tenant SaaS"
4646
ARG OCI_IMAGE_URL="https://kalamdb.org"
47-
ARG OCI_IMAGE_SOURCE="https://github.com/jamals86/KalamDB"
47+
ARG OCI_IMAGE_SOURCE="https://github.com/kalamstack/KalamDB"
4848
ARG OCI_IMAGE_DOCUMENTATION="https://kalamdb.org/docs"
4949
ARG OCI_IMAGE_VENDOR="KalamDB"
5050
ARG OCI_IMAGE_AUTHORS="Jamal Saad"

docs/development/development-setup.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ $env:LIBCLANG_PATH
142142

143143
```powershell
144144
# Clone the repository
145-
git clone https://github.com/jamals86/KalamDB.git
145+
git clone https://github.com/kalamstack/KalamDB.git
146146
cd KalamDB\backend
147147
148148
# Build the project (first build will take 10-20 minutes)
@@ -226,7 +226,7 @@ brew install pkg-config
226226

227227
```bash
228228
# Clone the repository
229-
git clone https://github.com/jamals86/KalamDB.git
229+
git clone https://github.com/kalamstack/KalamDB.git
230230
cd KalamDB/backend
231231

232232
# Build the project (first build will take 10-20 minutes)
@@ -282,7 +282,7 @@ cargo --version
282282

283283
```bash
284284
# Clone the repository
285-
git clone https://github.com/jamals86/KalamDB.git
285+
git clone https://github.com/kalamstack/KalamDB.git
286286
cd KalamDB/backend
287287

288288
# Build the project (first build will take 10-20 minutes)
@@ -330,7 +330,7 @@ cargo --version
330330

331331
```bash
332332
# Clone the repository
333-
git clone https://github.com/jamals86/KalamDB.git
333+
git clone https://github.com/kalamstack/KalamDB.git
334334
cd KalamDB/backend
335335

336336
# Build the project
@@ -374,7 +374,7 @@ cargo --version
374374

375375
```bash
376376
# Clone the repository
377-
git clone https://github.com/jamals86/KalamDB.git
377+
git clone https://github.com/kalamstack/KalamDB.git
378378
cd KalamDB/backend
379379

380380
# Build the project
@@ -692,7 +692,7 @@ If you encounter issues not covered here:
692692
- [macOS Setup Guide](macos.md#troubleshooting)
693693
- [Linux Setup Guide](linux.md#troubleshooting)
694694
- [Windows Setup Guide](windows.md#troubleshooting)
695-
2. **Check GitHub Issues**: [KalamDB Issues](https://github.com/jamals86/KalamDB/issues)
695+
2. **Check GitHub Issues**: [KalamDB Issues](https://github.com/kalamstack/KalamDB/issues)
696696
3. **Search Rust Forums**: Many dependency issues are common across Rust projects
697697
4. **Enable Verbose Output**: `cargo build -vv` for detailed error messages
698698
5. **Check Dependencies**: Ensure all system dependencies are installed

docs/development/linux.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
2626
source $HOME/.cargo/env
2727

2828
# 3. Clone and build
29-
git clone https://github.com/jamals86/KalamDB.git
29+
git clone https://github.com/kalamstack/KalamDB.git
3030
cd KalamDB/backend
3131
cargo build
3232
```
@@ -43,7 +43,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
4343
source $HOME/.cargo/env
4444

4545
# 3. Clone and build
46-
git clone https://github.com/jamals86/KalamDB.git
46+
git clone https://github.com/kalamstack/KalamDB.git
4747
cd KalamDB/backend
4848
cargo build
4949
```
@@ -60,7 +60,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
6060
source $HOME/.cargo/env
6161

6262
# 3. Clone and build
63-
git clone https://github.com/jamals86/KalamDB.git
63+
git clone https://github.com/kalamstack/KalamDB.git
6464
cd KalamDB/backend
6565
cargo build
6666
```
@@ -77,7 +77,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
7777
source $HOME/.cargo/env
7878

7979
# 3. Clone and build
80-
git clone https://github.com/jamals86/KalamDB.git
80+
git clone https://github.com/kalamstack/KalamDB.git
8181
cd KalamDB/backend
8282
cargo build
8383
```
@@ -273,7 +273,7 @@ export CARGO_BUILD_JOBS=4
273273

274274
```bash
275275
# Clone the repository
276-
git clone https://github.com/jamals86/KalamDB.git
276+
git clone https://github.com/kalamstack/KalamDB.git
277277
cd KalamDB/backend
278278

279279
# First build (takes 10-20 minutes - compiles RocksDB, Arrow, Parquet)
@@ -457,7 +457,7 @@ sudo chown -R $USER:$USER ~/KalamDB
457457
# Or reclone without sudo
458458
cd ~
459459
rm -rf KalamDB
460-
git clone https://github.com/jamals86/KalamDB.git
460+
git clone https://github.com/kalamstack/KalamDB.git
461461
```
462462

463463
---

docs/development/macos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ echo 'export DYLD_FALLBACK_LIBRARY_PATH="/Applications/Xcode.app/Contents/Develo
3131
source ~/.zshrc
3232

3333
# 5. Clone and build
34-
git clone https://github.com/jamals86/KalamDB.git
34+
git clone https://github.com/kalamstack/KalamDB.git
3535
cd KalamDB/backend
3636
cargo build
3737
```
@@ -187,7 +187,7 @@ brew install openssl@3
187187

188188
```bash
189189
# Clone the repository
190-
git clone https://github.com/jamals86/KalamDB.git
190+
git clone https://github.com/kalamstack/KalamDB.git
191191
cd KalamDB/backend
192192

193193
# First build (takes 10-20 minutes - compiles RocksDB, Arrow, Parquet)

docs/development/windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ clang --version
3333
cargo --version
3434
3535
# 5. Clone and build
36-
git clone https://github.com/jamals86/KalamDB.git
36+
git clone https://github.com/kalamstack/KalamDB.git
3737
cd KalamDB\backend
3838
cargo build
3939
@@ -199,7 +199,7 @@ winget install --id Git.Git -e --source winget
199199

200200
```powershell
201201
# Clone the repository
202-
git clone https://github.com/jamals86/KalamDB.git
202+
git clone https://github.com/kalamstack/KalamDB.git
203203
cd KalamDB\backend
204204
205205
# First build (takes 15-30 minutes on Windows - compiles RocksDB, Arrow, Parquet)

docs/getting-started/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ kalam --csv
491491
## Support
492492

493493
For issues, questions, or contributions:
494-
- GitHub: [github.com/jamals86/KalamDB](https://github.com/jamals86/KalamDB)
494+
- GitHub: [github.com/kalamstack/KalamDB](https://github.com/kalamstack/KalamDB)
495495
- Documentation: [docs/README.md](../README.md)
496496

497497
---

0 commit comments

Comments
 (0)