Stateful computations over data streams
open sourceApache-2.0self-hostablefree
Apache Flink is a framework and distributed processing engine for stateful computations over unbounded and bounded data streams: event-driven applications, real-time analytics and streaming data pipelines that process credit card transactions, sensor readings, logs or user activity as they happen, with low latency, high throughput and exactly-once state consistency. You write jobs with SQL on stream and batch data, the Table API, the DataStream API or ProcessFunctions for full control of time and state, in Java, Scala or Python. It runs on all common cluster environments (YARN, Kubernetes, standalone), keeps very large state with incremental checkpoints, and recovers or upgrades jobs from savepoints. It's an Apache Software Foundation project.
Problems it solves
- process a stream of events in real time with state and exactly-once results
- run continuous SQL queries over a Kafka topic
- build real-time analytics on clickstream or sensor data
- detect fraud on card transactions as they happen
- replace nightly batch jobs with a streaming pipeline
Features
- stateful processing of unbounded and bounded streams
- SQL, Table API, DataStream API and ProcessFunction
- event time and exactly-once state consistency
- incremental checkpoints and very large state
- savepoints for upgrades and recovery
- runs on YARN, Kubernetes or standalone
Capabilities
| Has official SDKs | plan not known |
|---|
Alternatives
The same job
These do what Apache Flink does.
- RisingWave PostgreSQL-compatible streaming database for real-time analytics
- Apache Spark Unified engine for large-scale data analytics
- Apache Beam One programming model for batch and streaming data pipelines that run on many engines
- Hazelcast A real-time data platform: a distributed in-memory data store with stream processing
