liftbridge-io/liftbridge
소개
오픈 소스 스트리밍 및 파이프라인 엔진입니다. 내구성과 복제를 지원하는 스트림, 네이티브 파이프라인과 커넥터를 제공하며 모두 무료입니다. Go로 작성된 단일 바이너리로 배포됩니다.
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- +2
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLiftbridge is an open source streaming and pipeline engine. It ingests events into durable, replicated streams and moves them where they need to go through native pipelines and connectors: lakehouses, object storage, databases and analytics engines. Every connector is open source and free: no enterprise tier, no license keys for the integrations other platforms sell. It's a single binary written in Go: no JVM, no ZooKeeper, nothing else to run.
Status: the streaming core (partitioned, replicated streams, consumer groups, retention and compaction) is what ships today. Native pipelines and the first connectors are in development; see where it's going.
Use cases
- Telemetry at scale. Metrics, logs, traces and events from services, devices and fleets, from many sources and formats, into durable streams, then delivered to storage and analytics without a separate connector stack.
- AI agents. A durable, ordered record of what agents see and do: inputs, tool calls, decisions and outcomes. Replay it to debug, evaluate or audit an agent, and stream it to the stores that give agents memory.
- Physical AI. Sensor, telemetry and episode data from robots, vehicles, drones and industrial machines, ingested at high rates and landed as training and analytics datasets in object storage and the lakehouse.
- IoT and industrial data. Readings from sensors, PLCs and edge gateways, partitioned by device or site, retained, and fanned out to monitoring and historians.
- Event-driven systems. Events and change data between services: materialized views, caches, search indexes and audit trails, with consumer groups for scalable processing.
- Lakehouse ingestion. Streams landed as Parquet and Iceberg tables for analytics and machine learning.
Why Liftbridge
- One binary, from ingest to destination. Durable streams, processing and delivery in the same process, instead of a broker plus a separate connector cluster plus glue.
- Durable and replicated. Kafka-style partitioned commit logs with in-sync replica sets, leader epochs and acknowledgement policies up to "all replicas". Logs are made durable on disk at every segment boundary and flushed periodically, and recover cleanly after crashes and power loss.
- Connectors for free. Every connector is open source, with no paid tier behind it, and contributions of new ones are welcome.
- Simple to operate. One binary, nothing else to run: cluster metadata is replicated with Raft, and nodes talk over NATS running inside each of them. Graceful shutdowns hand off partition leadership so clients don't wait for timeouts.
What ships today
- Partitioned, replicated streams with configurable replication factor and minimum in-sync replicas
- Acknowledgement policies (none, leader, all) and optimistic concurrency control
- Consumer groups with balanced consumption, position tracking and failover
- Retention by time, size and message count, and log compaction by key
- mTLS authentication and Casbin-based authorization
- Encryption at rest (AES-256-GCM)
- A gRPC API (
api/api.proto) with a Go client (client/,github.com/liftbridge-io/liftbridge/client/v3)
Where it's going
- Native pipelines: inputs, processors and outputs, defined and run inside Liftbridge.
- Connectors: sinks and sources, all open source. The first sinks are Arc, S3 (Parquet) and Iceberg, with more to follow from us and the community.
- NATS as an internal detail: embedded on every node, with nothing to run or configure separately.
- Throughput: leader-aware routing, batch-first produce and backpressure.
The public roadmap has more detail.
Getting started
Run a single node with Docker (from the next release; 26.01.1's image can't write its data directory):
docker run -d --name liftbridge -p 9292:9292 \
-v liftbridge-data:/tmp/liftbridge/liftbridge-default \
ghcr.io/liftbridge-io/liftbridge:latest \
--raft-bootstrap-seed
Or build it (Go 1.27.4+) and run it the same way:
go build -o liftbridge . && ./liftbridge --raft-bootstrap-seed
For a cluster, give every node the same seed list, a shared secret and the list of the nodes' IDs to bootstrap with:
./liftbridge --id a --port 9292 --raft-bootstrap-peers a,b,c \
--clustering-listen 0.0.0.0:9393 --clustering-seeds a:9393,b:9393,c:9393 \
--clustering-secret "$SECRET"
See Clustering for the details.
Performance
Single node, replication factor 1:
| Configuration | Throughput | Latency (P99) |
|---|---|---|
| 1 publisher, synchronous | ~30K msgs/sec | 306µs |
| 1 publisher, pub-batch=100 | ~139K msgs/sec | 1.0ms |
| 4 publishers, pub-batch=100 | ~241K msgs/sec | 2.0ms |
| 256 publishers, synchronous | ~200K msgs/sec | 1.4ms |
Running benchmarks
# Create a stream, publish 100,000 256-byte messages from 4 publishers, then
# read them back.
STREAM=$(go run ./bench/producer --servers localhost:9292 --create-only)
go run ./bench/producer --servers localhost:9292 --use-stream "$STREAM" \
--messages 100000 --message-size 256 --concurrent 4 --ack-policy leader
go run ./bench/consumer --servers localhost:9292 --stream "$STREAM" --messages 100000
See bench/README.md for the full benchmark matrix.
Maintainers
Liftbridge is maintained by Basekick Labs, creators of Arc. It was created by Tyler Treat; see the introduction for its origins.
Community
관련 프로젝트 살펴보기
불러오는 중…
