Next-generation decentralized data lakehouse and a multi-party stream processing network
Next-generation decentralized data lakehouse and a multi-party stream processing network
kamu (pronounced kæmˈuː) is a command-line tool for management and verifiable processing of dynamic structured data. It's a green-field project that aims to enable global collaboration on data on the same scale as seen today in software.
kamu is based on Open Data Fabric protocol.
You can think of it as:
Use the installer script (Linux / MacOSX / WSL2):
curl -s "https://get.kamu.dev" | shkamu in actionkamu works well with popular data extractors like Debezium and provides many built-in sources ranging from polling data on the web to MQTT broker and blockchain logs.
Data is stored in Open Data Fabric (ODF) format - an open Web3-native format inspired by Apache Iceberg and Delta.
In addition to "table" abstraction on top of Parquet files, ODF provides:
Unlike Iceberg and Delta that encourage continuous loss of history through Change-Data-Capture, ODF format is history-preserving. It encourages working with data in the event form, and dealing with inaccuracies through explicit retractions and corrections.
kamu offers a wide range of integrations, including:
Data in kamu can only be transformed through code. An SQL query that cleans one dataset or combines two via JOIN can be used to create a derivative dataset.
kamu doesn't implement data processing itself - it integrates many popular data engines (Flink, Spark, DataFusion...) as plugins, so you can build an ETL flow that uses the strengths of different engines at different steps of the pipeline:
All derivative datasets use stream processing that results in some revolutionary qualities:
ODF datasets can be shared via any conventional (S3, GCS, Azure) and decentralized (IPFS) storage and easily replicated. Sharing a large dataset is simple as:
kamu push covid19.case-details "s3://datasets.example.com/covid19.case-details/"Because dataset identity is an inseparable part of the metadata - dataset can be copied, but everyone on the network will know who the owner is.
kamu will store the transformation code in the dataset metadata and ensure that it's deterministic and reproducible. This is a form of verifiable computing.
You can send a dataset to someone else and they can confirm that the data they see in fact corresponds to the inputs and code:
# Download the dataset
kamu pull "s3://datasets.example.com/covid19.case-details/"
# Attempt to verify the transformations
kamu verify --recursive covid19.case-detailsVerifiability allows you to establish trust in data processed by someone you don't even know and detect if they act maliciously.
Verifiable trust allows people to reuse and collaborate on data on a global scale, similarly to open-source software.
Through federation, data in different locations can be queried as if it was in one big data lakehouse - kamu will take care of how to compute results most optimally, potentially delegating parts of the processing to other nodes.
Every query result is accompanied by a cryptographic commitment that you can use to reproduce the same query days or even months later.
kamu offers unparalleled flexibility of deployment options:
kamu-node as a small serverUsing kamu you can easily read on-chain data to run analytics on smart contracts, and provide data to blockchains via novel Open Data Fabric oracle.
If you like what we're doing - support us by starring the repo, this helps us a lot!
Subscribe to our YouTube channel to get fresh tech talks and deep dives.
Stop by and say "hi" in our Discord Server - we're always happy to chat about data.
If you'd like to contribute start here.
No open issues yet, or sync has not completed.