udb 0.3.1

Universal Data Broker — a Rust gRPC broker over multiple databases (Postgres, MySQL, SQLite, MongoDB, ClickHouse, Cassandra, MSSQL, Redis, Qdrant, S3, Neo4j, …) with per-tenant RLS, 2PC, sagas, and CDC.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# PostgreSQL 16 + pg_partman.
#
# The UDB broker provisions its native control-plane schemas (authn, authz,
# tenant, notification, analytics) on boot, and the analytics tables use
# pg_partman for time partitioning. The stock postgres image doesn't ship it,
# so we compile the extension in once here.
FROM postgres:16-alpine AS pg-partman-builder

ARG PG_PARTMAN_VERSION=5.2.4

RUN apk add --no-cache build-base clang git llvm
RUN git clone --depth 1 --branch "v${PG_PARTMAN_VERSION}" https://github.com/pgpartman/pg_partman.git /tmp/pg_partman
RUN cd /tmp/pg_partman && make NO_BGW=1 && make NO_BGW=1 install

FROM postgres:16-alpine

COPY --from=pg-partman-builder /usr/local/share/postgresql/extension/pg_partman* /usr/local/share/postgresql/extension/