# Apache Fluss

**Apache Fluss** 是一个面向实时分析与 AI 的开源、湖仓原生流存储系统。应用程序可以将表变更作为流读取，使用主键查询行，并通过湖仓集成访问历史数据，使其成为湖仓架构的实时数据层。<sup>[1](https://fluss.apache.org/docs/)</sup> 该名称源自 Flink Unified Streaming Storage，在德语中也有“河流”之意（发音为 /flus/），寓意数据持续不断地流入湖中。<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup> Fluss 是 Apache 软件基金会的项目，于 2023 年在[阿里云](https://www.edgepedia.org/zh/alibaba-cloud)发起，2025 年 6 月进入 Apache 孵化器，并于 2026 年 7 月成为顶级项目（TLP）。<sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup>

| 关键事实 | 详情 |
|---|---|
| 是什么 | 分布式流存储，以表的形式暴露数据，将有序日志与键值存储相结合，用于更新和查找<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup> |
| 起源 | 2023 年 7 月由阿里云 Flink 团队发起；2024 年 11 月在 Apache 2.0 许可证下开源<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup><sup> • </sup><sup>[5](https://fluss.apache.org/blog/fluss-open-source/)</sup> |
| Apache 状态 | 2025-06-05 进入孵化；2026-07-16 毕业为顶级项目<sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup><sup> • </sup><sup>[6](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces-new-top-level-projects-5)</sup> |
| 表类型 | 仅追加的日志表和可更新的主键表，合并引擎包括 LastRow、FirstRow、Versioned 和 Aggregation<sup>[7](https://fluss.apache.org/docs/table-design/overview/)</sup> |
| 引擎与格式支持 | Apache Flink 和 Apache Spark，以及包括 Paimon、Iceberg、Hudi 和 Lance 在内的开放湖仓格式<sup>[6](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces-new-top-level-projects-5)</sup> |
| 首个 TLP 版本 | Fluss 1.0，于 2026 年 9 月 21 日发布，包含一千多次提交和 45 万行新代码<sup>[8](https://fluss.incubator.apache.org/blog/releases/1.0/)</sup><sup> • </sup><sup>[9](https://release-catalog.apache.org/fluss/index.html)</sup> |
| 采用情况 | 已在阿里巴巴、小红书（RedNote）、Fresha、京东、蚂蚁集团和爱奇艺投入生产使用；毕业时有 157 位贡献者和 2,000+ GitHub 星标<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup> |

## 历史

2023 年 7 月，阿里云的 Flink 团队启动了 Fluss 项目，旨在解决流存储给分析工作负载带来的长期问题，例如将流处理与批存储相结合、处理 Flink 状态以及管理复杂的数据管道。其目标是为湖仓时代的实时分析构建一个统一的流存储系统。<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup> 该项目在 2024 年柏林 Flink Forward 大会上公布，随后于 2024 年 11 月 29 日在上海举行的 2024 年 Flink Forward Asia 大会上以 Apache 2.0 许可证开源。<sup>[5](https://fluss.apache.org/blog/fluss-open-source/)</sup><sup> • </sup><sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup>

**孵化与毕业。** Fluss 于 2025-06-05 进入孵化。<sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup> 在孵化期间，它发布了 0.8.0-incubating，这是其首个官方 Apache 版本，随后发布了 0.9.0-incubating 和 0.9.1-incubating，以及一个多语言客户端子项目 Fluss-Rust 0.1.0，包含 C++ 和 Python SDK。<sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup><sup> • </sup><sup>[10](https://www.apache.org/foundation/board/minutes/Fluss.html)</sup> 毕业提案获得了孵化器项目管理委员会的一致批准，随后获得 ASF 董事会批准，董事会于 2026-07-15 成立该项目，由 Jark Wu 担任副总裁；ASF 于 2026 年 8 月 6 日公开宣布 Fluss 成为顶级项目。<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup><sup> • </sup><sup>[10](https://www.apache.org/foundation/board/minutes/Fluss.html)</sup><sup> • </sup><sup>[6](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces-new-top-level-projects-5)</sup>

## 架构

Fluss 集群将协调与数据服务分离。**CoordinatorServer** 是中央控制组件：它管理数据库、表、分区、TabletServer 成员资格以及桶副本的放置和领导权，并在节点扩缩容和故障转移期间协调再平衡。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup> **TabletServer** 托管桶副本，处理读写并复制日志；一旦客户端发现了相关服务器，正常的读写就直接发往 TabletServer，使数据流量与协调工作负载分离。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup> ZooKeeper 目前存储集群元数据，并支持服务器注册和协调器领导者选举；项目路线图计划用键值存储替代 ZooKeeper 来存储元数据，并用 Raft 进行协调。<sup>[11](https://fluss.incubator.apache.org/docs/concepts/architecture/)</sup>

其他组件扩展了集群：<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup>

- **远程存储** 将分层日志段和键值快照保存在各个 TabletServer 之外，降低存储成本、加速扩缩容，并让客户端无需给 Fluss 服务器增加负载即可执行批量读取。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup><sup> • </sup><sup>[11](https://fluss.incubator.apache.org/docs/concepts/architecture/)</sup>
- **Fluss Gateway** 为元数据、DDL 和模式感知的批量写入提供无状态的 HTTP/REST 入口。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup>
- **湖仓分层服务** 是一个独立的 Flink 作业，为启用的表维护开放的湖仓表示。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup>

数据通过三个相关的抽象进行分布：表，定义模式、表类型和存储属性；分区，按分区列值（如日期或区域）对行进行分组；桶，是数据分布、日志排序和副本分配的单位。<sup>[4](https://fluss.apache.org/docs/next/concepts/architecture/)</sup>

## 数据模型

Fluss 表将类型化模式与存储、分布、更新和保留行的规则相结合，主键的存在决定了表类型。<sup>[7](https://fluss.apache.org/docs/table-design/overview/)</sup>

**日志表** 是仅追加的：每次写入都会创建另一条记录，重复的值保持独立，读取器通过每个桶内的偏移量跟踪进度。它们适用于事件、活动流和摄取日志。<sup>[7](https://fluss.apache.org/docs/table-design/overview/)</sup>

**主键表** 维护实体的当前状态，例如订单或用户配置文件，支持 upsert、删除和查找，同时还将变更暴露给下游处理。合并引擎定义了当同一键的另一次写入到达时会发生什么。默认的 LastRow 引擎应用最新的写入，并在配置后支持部分更新；FirstRow 保留键的第一条记录，用于对重复的事件标识符去重；Versioned 接受版本列至少为已存储版本的记录，用于处理乱序更新；Aggregation 使用逐列聚合函数组合值，用于维护计数器或聚合结果。<sup>[7](https://fluss.apache.org/docs/table-design/overview/)</sup>

[列式存储](https://www.edgepedia.org/zh/columnar-storage)支持投影和[谓词下推](https://www.edgepedia.org/zh/predicate-pushdown)，流式读写以亚秒级延迟运行。<sup>[1](https://fluss.apache.org/docs/)</sup>

## 与计算引擎和湖仓的集成

Fluss 与 [Apache Flink](https://www.edgepedia.org/zh/apache-flink) 和 [Apache Spark](https://www.edgepedia.org/zh/apache-spark) 集成，[StarRocks](https://www.edgepedia.org/zh/starrocks) 支持已宣布即将推出；Flink 连接器是主要的客户端实现，Flink SQL 可以通过 Fluss 目录直接操作 Fluss 表和数据。<sup>[11](https://fluss.incubator.apache.org/docs/concepts/architecture/)</sup><sup> • </sup><sup>[1](https://fluss.apache.org/docs/)</sup><sup> • </sup><sup>[12](https://github.com/apache/fluss)</sup> 在湖仓方面，Fluss 支持包括 Apache Paimon、Apache Iceberg、Apache Hudi 和 Lance 在内的开放格式，分层服务会同步需要湖仓表示的表。<sup>[6](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces-new-top-level-projects-5)</sup><sup> • </sup><sup>[13](https://cwiki.apache.org/confluence/download/export/pdfexport-20260604-040626-0855-202413/372214338_8e1cd13f41184fd39c6723922465193f-040626-0855-202414.pdf?contentType=application%2Fpdf)</sup>

文档还描述了 **Lakestream**，即 Streamhouse 架构的共享流与湖仓表基础，在此架构下，同一张表可以作为流消费、按键查询，并从湖仓进行历史读取。<sup>[1](https://fluss.apache.org/docs/)</sup>

## 使用场景

文档中的使用场景集中在跨消费者共享维护的表：<sup>[1](https://fluss.apache.org/docs/)</sup>

1. **实时特征存储**，用于 ML 服务和训练，其中主键表通过键值查找暴露特征行，通过流式读取暴露变更，湖仓分层支持历史访问。
2. **实时风险与欺诈检测及决策审计**，消费表变更并查找维护的实体数据以进行决策。
3. **实时实体画像和 Customer 360**，通过合并引擎和部分更新维护来自多个生产者的共享行。
4. **AI 代理记忆和 LLM 系统的上下文工程**，包括来自对话日志的会话记忆、作为实体记忆的实时键值事实、作为行为记忆的流式特征，以及通过支持的 Lance 集成访问的语义记忆。

## 与 Apache Kafka 的比较

[Apache Kafka](https://www.edgepedia.org/zh/apache-kafka) 和 Apache Fluss 占据实时数据栈的不同层次。Kafka 是流传输：一个持久的、分布式的提交日志，旨在在系统之间移动事件，适用于发布/订阅、日志摄取、微服务扇出和跨语言消息传递。Fluss 是流存储：一个列式表基础，旨在基于同一份数据，在数秒内为使用 Flink 的大规模流处理、实时分析、AI/ML 管道和湖仓查询提供服务，因此分析和 AI/ML 工作负载读取一个共享基础，而无需单独的特征、上下文或分析存储。<sup>[14](https://fluss.apache.org/compare/kafka/)</sup>

## 版本与社区

发布目录将 0.8.0-incubating 列为 2025 年 10 月 25 日发布，而项目的孵化新闻记录 0.8.0 于 2025-11-10 发布，作为首个 Apache 孵化版本；这两个日期分别反映工件发布与公告。<sup>[9](https://release-catalog.apache.org/fluss/index.html)</sup><sup> • </sup><sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup> 后续孵化版本为 0.9.0-incubating（2026 年 2 月 21 日）和 0.9.1-incubating（2026 年 4 月 27 日）。<sup>[9](https://release-catalog.apache.org/fluss/index.html)</sup> Fluss 1.0 是毕业后的首个主要版本，遵循 TLP 发布流程，不带 `-incubating` 后缀，于 2026 年 9 月 21 日发布。<sup>[8](https://fluss.incubator.apache.org/blog/releases/1.0/)</sup><sup> • </sup><sup>[10](https://www.apache.org/foundation/board/minutes/Fluss.html)</sup> 子项目包括 Apache Fluss Rust（一个多语言客户端，包含 C++ 和 Python SDK）和 Apache Fluss Shaded。<sup>[9](https://release-catalog.apache.org/fluss/index.html)</sup><sup> • </sup><sup>[3](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)</sup>

**社区规模。** 毕业时，项目共有 157 位贡献者、2,000 多个 GitHub 星标和 1,700 多个已合并的拉取请求。<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup> 在作为 TLP 的首份季度董事会报告（2026 年 8 月）中，项目报告了 22 位提交者和 14 位 PMC 成员，每月约有 30 人参加社区电话会议，LinkedIn 页面在第一年约有 2,300 名关注者。<sup>[10](https://www.apache.org/foundation/board/minutes/Fluss.html)</sup>

**生产使用。** Fluss 已在阿里巴巴、小红书（RedNote）、Fresha、京东、蚂蚁集团和爱奇艺投入生产使用，涵盖日志收集与分析、实时数据仓库、搜索与推荐、索引管道和实时特征服务。这些部署旨在减少跨系统数据副本、降低实时数据处理和存储成本，并提高湖仓数据的新鲜度。<sup>[2](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)</sup>

项目采用 [Apache License](https://www.edgepedia.org/zh/apache-license) 2.0 许可，在类 Unix 环境中使用 Maven（3.8.6 或更高版本）和 Java 11 构建，源代码托管在 GitHub 的 apache 组织下。<sup>[12](https://github.com/apache/fluss)</sup>

## References

1. [Introduction | Apache Fluss documentation](https://fluss.apache.org/docs/)
2. [Apache Fluss Graduates to a Top Level Project | Apache Fluss blog](https://fluss.apache.org/blog/apache-fluss-graduates-to-top-level-project/)
3. [Apache Fluss Project Incubation Status | Apache Incubator](https://incubator.apache.org/projects/fluss.html?trk=article-ssr-frontend-pulse_little-text-block)
4. [Fluss Architecture | Apache Fluss documentation](https://fluss.apache.org/docs/next/concepts/architecture/)
5. [Fluss is Now Open Source | Apache Fluss blog](https://fluss.apache.org/blog/fluss-open-source/)
6. [The Apache Software Foundation Announces New Top-Level Projects | ASF Blog](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces-new-top-level-projects-5)
7. [Table Overview | Apache Fluss documentation](https://fluss.apache.org/docs/table-design/overview/)
8. [Announcing Apache Fluss 1.0: Real-Time Data Foundation for AI | Apache Fluss blog](https://fluss.incubator.apache.org/blog/releases/1.0/)
9. [Apache Fluss | Apache Release Catalog](https://release-catalog.apache.org/fluss/index.html)
10. [Board history: Fluss | Apache Software Foundation](https://www.apache.org/foundation/board/minutes/Fluss.html)
11. [Architecture (v0.9) | Apache Fluss (incubating) documentation](https://fluss.incubator.apache.org/docs/concepts/architecture/)
12. [GitHub - apache/fluss](https://github.com/apache/fluss)
13. [FIP-1: Fluss Lakehouse Storage Design | Apache Wiki](https://cwiki.apache.org/confluence/download/export/pdfexport-20260604-040626-0855-202413/372214338_8e1cd13f41184fd39c6723922465193f-040626-0855-202414.pdf?contentType=application%2Fpdf)
14. [Apache Fluss vs Apache Kafka | Apache Fluss](https://fluss.apache.org/compare/kafka/)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data › Big data platforms and frameworks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/apache-fluss

English original: https://www.edgepedia.org/apache-fluss
