GUIDE
Process Apache Kafka streams using standard SQL instead of Java consumers. RisingWave ingests Kafka topics, transforms data with SQL, creates materialized views, and sinks results — all with exactly-once semantics.
Comparison
RisingWave supports all common Kafka stream processing patterns — real-time aggregations, stream-stream joins, stream-table joins, windowed computations, event deduplication, and CDC enrichment — all expressed as SQL queries. Each pattern that would require hundreds of lines of Java becomes a single SQL statement.
| Capability | Kafka Streams | ksqlDB | Flink SQL | RisingWave |
|---|---|---|---|---|
| Language | Java API | KSQL | SQL | PostgreSQL SQL |
| State Management | RocksDB (manual) | Managed | RocksDB (tunable) | Automatic |
| Exactly-Once | Manual config | Yes | Manual config | Automatic |
| Query Serving | No | Pull queries | No | Full PostgreSQL |
| Multi-Source Joins | Kafka only | Kafka only | Multi-source | Multi-source |
| Operational Cost | High | Medium | High | Low |
| Time to Production | 6-12 weeks | 2-4 weeks | 4-8 weeks | 1-2 weeks |
How It Works
RisingWave connects to Kafka topics as streaming sources, letting you write standard SQL to transform, aggregate, join, and window your event data. Results are maintained as materialized views that update incrementally with each new Kafka message. No Java code, no consumer management, no state store configuration — just SQL.
CREATE SOURCE connects to any Kafka cluster. Supports Avro, Protobuf, JSON, and CSV formats with Schema Registry integration.
Filter, map, aggregate, and join Kafka streams using standard SQL. Window functions, CTEs, and subqueries all supported.
No RocksDB tuning or state store configuration. RisingWave manages all intermediate state with automatic checkpointing.
Write processed results back to Kafka topics, or sink to PostgreSQL, Elasticsearch, Redis, S3, and 20+ destinations.
The Problem
Processing Kafka streams with Java requires writing consumer applications, managing offsets, handling deserialization, implementing windowing logic, managing state stores, and dealing with rebalancing. Even simple aggregations demand hundreds of lines of code, specialized Kafka expertise, and weeks of development before reaching production.
Start building Kafka processing pipelines with SQL in minutes.
Process Kafka with SQL