Configs2026年5月17日·1 分钟阅读

Arroyo — Distributed Stream Processing Engine in Rust

A Rust-based distributed stream processing engine that lets you write SQL or Rust pipelines for real-time data transformation over Kafka, Kinesis, and other sources.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Arroyo Overview
通用 CLI 安装命令
npx tokrepo install f924d0f2-51a7-11f1-9bc6-00163e2b0d79

Introduction

Arroyo is an open-source distributed stream processing engine written in Rust. It enables developers to build real-time data pipelines using SQL or Rust, with sub-second latency and exactly-once semantics. It is designed for use cases like real-time analytics, feature engineering, and event-driven architectures.

What Arroyo Does

  • Processes streaming data with sub-second end-to-end latency
  • Supports SQL for pipeline definitions with windows, joins, and aggregations
  • Connects to Kafka, Kinesis, MQTT, WebSocket, and HTTP sources and sinks
  • Provides exactly-once processing guarantees via checkpointing
  • Scales horizontally across a cluster of workers

Architecture Overview

Arroyo compiles SQL or Rust pipelines into a distributed dataflow graph. A controller schedules tasks across workers, each running an async Rust runtime. State is managed with RocksDB and periodically checkpointed to S3 or local disk for fault tolerance. The Web UI allows visual pipeline creation and monitoring.

Self-Hosting & Configuration

  • Run via Docker: docker run ghcr.io/arroyosystems/arroyo:latest
  • Deploy on Kubernetes using the provided Helm chart for production
  • Configure sources and sinks through the Web UI or YAML connection profiles
  • Set checkpoint interval and state backend in the cluster configuration
  • Scale workers independently from the controller for elasticity

Key Features

  • SQL-first pipeline authoring with streaming extensions (windows, watermarks)
  • Sub-second latency with exactly-once state consistency
  • Built-in Web UI for pipeline creation, monitoring, and backpressure visualization
  • Rust-native performance with no JVM overhead or garbage collection pauses
  • Supports user-defined functions written in Rust for custom logic

Comparison with Similar Tools

  • Apache Flink — mature and feature-rich but requires JVM, heavier operational footprint
  • Apache Kafka Streams — library-based, tightly coupled to Kafka, no SQL layer
  • RisingWave — streaming SQL database with PostgreSQL compatibility, different deployment model
  • Materialize — SQL over streams with Postgres wire protocol, commercial focus
  • Benthos (Redpanda Connect) — config-driven stream processor, no SQL or stateful windowing

FAQ

Q: Can I use Arroyo without Kafka? A: Yes. Arroyo supports many sources including Kinesis, MQTT, WebSocket, HTTP, and file-based inputs.

Q: Does it support exactly-once semantics? A: Yes. Arroyo uses aligned checkpointing similar to Flink to guarantee exactly-once state processing.

Q: How does Arroyo compare to Flink on performance? A: Arroyo avoids JVM overhead and garbage collection, achieving lower tail latencies for many workloads with a smaller memory footprint.

Q: Can I write custom processing logic? A: Yes. User-defined functions (UDFs) can be written in Rust and loaded into SQL pipelines.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产