Introduction
Build
Tansu is a drop-in replacement for Apache Kafka with PostgreSQL, S3 or memory storage engines. Without the cost of broker replicated storage for durability. Licensed under the GNU AGPL. Written in 100% safe 🦺 async 🚀 Rust 🦀.
Prerequisites
The path of least resistance assumes the following tools are installed:
Clone
Clone the GNU AGPL licensed repository using git:
git clone https://github.com/tansu-io/tansu.git
cd tansu
Build
Once you have checked out the Tansu source code, you can build it using cargo:
cargo build
Test
Spin up a PostgreSQL instance used by the storage engine tests (which can be left running):
just docker-compose-db-up
To run the tests:
just test
Build, Test and Clippy
Spin up a PostgreSQL instance used by the storage engine tests (which can be left running):
just docker-compose-db-up
Full build, test and clippy:
just
Docker Image
A from scratch docker image can be created with:
just docker-build