vs. Kafka Streams
Kafka Streams is battle-tested and has one of the most ergonomic topology APIs on the JVM. StoatFlow keeps a Kafka Streams DSL-compatible programming model, but trades Kafka Streams' horizontal scale-out architecture for a simpler single-instance runtime. That removes whole categories of distributed overhead: inter-instance rebalancing, state migration, and repartition-topic round-trips. For Kafka-native workloads that fit comfortably on one modern machine, this can translate into lower compute, memory, network, and storage usage — and often lower latency, higher throughput on the same hardware, and materially lower operating cost. The trade-off is explicit: StoatFlow gives up open-ended horizontal scale in favour of simpler, more resource-efficient vertical scale.