# Apache Gobblin

**Apache Gobblin** 是一个面向分布式数据集成的开源框架，旨在简化典型的大数据任务，包括在流式和批处理环境中的数据摄取、复制、组织与生命周期管理。它于2014年诞生于LinkedIn，2015年开源，2017年2月进入Apache孵化器，并于2021年2月16日被宣布为Apache顶级项目。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 2014年起在LinkedIn构建；2015年开源；2017年2月进入Apache孵化器<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> |
| 顶级项目 | 2021年1月20日毕业；ASF于2021年2月16日发布公告<sup>[2](https://incubator.apache.org/projects/gobblin.html)</sup><sup> • </sup><sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> |
| 核心能力 | 数据湖的摄取与导出、数据组织（压缩、分区、去重）、生命周期管理（保留策略）以及合规管理（细粒度删除）<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup> |
| 执行模式 | 独立模式（单机或嵌入式）、Hadoop上的MapReduce、Yarn或Kubernetes上的独立集群，以及公有云上的弹性集群<sup>[4](https://gobblin.apache.org/)</sup> |
| 处理能力 | 同时支持流式（无限）与批式（有限）数据处理<sup>[5](https://www.linkedin.com/blog/engineering/open-source/gobblin-enters-apache-incubation)</sup> |
| 已知用户 | Apple、CERN、Comcast、Intel、LinkedIn、Nerdwallet、PayPal、Prezi、Roku、Sandia National Laboratories、Swisscom和Verizon等<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> |
| 许可与治理 | Apache License v2.0；由活跃贡献者自发组成的团队管理，截至2026年季度报告共有23名提交者和12名PMC成员<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup><sup> • </sup><sup>[6](https://whimsy.apache.org/board/minutes/Gobblin.html)</sup> |

## 动机与起源

Gobblin诞生于LinkedIn，旨在解决运行大量独立摄取管道所带来的成本问题。LinkedIn的数据基础设施团队曾一度为将各类数据实体摄取到Hadoop中而构建定制方案，并运维着15种以上的摄取管道，每种管道都有各自的错误模式、数据质量能力和扩展行为，这造成了数据质量、元数据管理、开发与运维方面的问题。<sup>[7](https://gobblin.apache.org/docs/)</sup><sup> • </sup><sup>[8](https://engineering.linkedin.com/teams/data/analytics-platform-apps/analytics-platforms/gobblin)</sup> 工程经理林乔（Lin Qiao）在项目的介绍博客中描述了当时的情况：“我们一度运行着超过15种数据摄取管道，并且苦苦挣扎于让它们全部保持同等水平的数据质量、功能和可操作性。”<sup>[9](https://venturebeat.com/social/linkedin-details-gobblin-its-best-tool-yet-for-get-all-relevant-data-ready-for-analysis)</sup>

该框架的既定设计目标是通用性、可扩展性和可操作性：一个单一的集中式框架，为常见数据源（MySQL、Kafka、Google Analytics、[Salesforce](https://www.edgepedia.org/zh/salesforce)、S3等）提供开箱即用的适配器，能够轻松扩展新的适配器，提供端到端的指标以实现持续的数据校验，并支持自助式组合数据流——这些数据流可在本地测试，并能在无需修改代码的情况下大规模部署。<sup>[10](https://www.vldb.org/pvldb/vol8/p1764-qiao.pdf)</sup>

LinkedIn于2014年11月宣布该项目，并于2015年将其开源。2015年9月28日发布的0.5.0版本带来了生产级的Kafka数据源集成，以及对运维监控和元数据整合的支持。<sup>[9](https://venturebeat.com/social/linkedin-details-gobblin-its-best-tool-yet-for-get-all-relevant-data-ready-for-analysis)</sup><sup> • </sup><sup>[11](https://engineering.linkedin.com/big-data/bridging-batch-and-streaming-data-ingestion-gobblin)</sup>

## 在LinkedIn及更广范围内的采用

**取代Camus。** LinkedIn曾使用Camus——一个将Kafka数据移入Hadoop的专用工具。由于Camus积累了技术债务，它被弃用，取而代之的是Gobblin-Kafka；经过这一变更，Gobblin承担了LinkedIn内部最大量的数据摄取工作。<sup>[8](https://engineering.linkedin.com/teams/data/analytics-platform-apps/analytics-platforms/gobblin)</sup> 自2015年开源发布以来，LinkedIn用Gobblin数据流替换了其绝大多数定制数据流。<sup>[8](https://engineering.linkedin.com/teams/data/analytics-platform-apps/analytics-platforms/gobblin)</sup>

在LinkedIn，Gobblin处理的用例涵盖摄取、复制、压缩和保留策略；LinkedIn工程副总裁卡皮尔·苏尔莱克（Kapil Surlaker）称其以“艾字节规模”为公司服务。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> ASF的公告指出，Gobblin每天用于集成数百TB的数据和数千个数据集。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup>

其他采用者也提供了各自的数据。在Prezi，团队选择Gobblin作为其主要数据摄取工具，由塔马斯·内梅特（Tamas Nemeth）领导的团队摄取、去重并压缩了超过1200个[Apache Kafka](https://www.edgepedia.org/zh/apache-kafka)主题。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup>

## 能力范围与Gobblin不是什么

项目README将Gobblin描述为一种高度可扩展的数据管理解决方案，适用于异构数据生态系统中结构化和面向字节的数据，具备四大能力领域：从各种数据源向数据湖摄取数据，并从数据湖向各种数据汇导出数据，专为在摄取时进行内联转换的ELT模式设计；数据湖内的数据组织，包括压缩、分区和去重；生命周期管理，如数据保留；以及跨生态系统的合规管理，如细粒度数据删除。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup>

列出的常见生产模式包括：从Kafka到数据湖（HDFS、S3、ADLS）的流式和批式摄取；从数据湖批量加载服务存储（例如HDFS到Couchbase）；跨联邦数据湖的数据同步（HDFS到HDFS、HDFS到S3、S3到ADLS）；将Salesforce和Dynamics等外部供应商API与数据存储集成；以及在HDFS和ADLS上执行保留策略和GDPR删除。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup>

项目文档明确划定了边界。Gobblin不是Spark或Flink那样的通用转换引擎；它可以将复杂的数据处理委托给这些系统。它不是Kafka或HDFS那样的存储系统——它将这些系统作为数据源或数据汇加以集成。它也不是Airflow、[Azkaban](https://www.edgepedia.org/zh/azkaban)、Dagster或Luigi那样的通用工作流执行系统。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup>

功能层面的支持包括任务分区、增量处理的状态管理、原子数据发布、数据质量检查、作业调度和容错。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup> 后续增强功能增加了具有流隔离和优先级的数据集感知型类distcp功能、集群级和数据集级可覆盖的配置管理、除先前支持的至少一次语义之外的精确一次语义，以及与Yarn等系统集成以实现持续数据处理。<sup>[8](https://engineering.linkedin.com/teams/data/analytics-platform-apps/analytics-platforms/gobblin)</sup> 该框架还处理数据模型演进、自动可扩展性和可扩展性。<sup>[7](https://gobblin.apache.org/docs/)</sup>

## 执行模式与部署

Gobblin支持的部署模式从单进程独立应用一直到云原生环境中运行的数千个容器。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> 项目网站列出了四种有文档记录的模式：独立模式（单机，或嵌入应用中）、多Hadoop版本上的[MapReduce](https://www.edgepedia.org/zh/mapreduce)模式（可使用Azkaban启动MapReduce作业）、具有主节点和工作节点且支持裸机高可用性的集群或Yarn模式，以及公有云上具有高可用性的弹性集群云模式。<sup>[4](https://gobblin.apache.org/)</sup> 孵化时期的路线图还增加了嵌入式和CLI模式、对API配额等共享资源的全局限流，以及Gobblin-as-a-Service——一个旨在将异构数据移动和处理部署统一在服务背后的控制平面。<sup>[5](https://www.linkedin.com/blog/engineering/open-source/gobblin-enters-apache-incubation)</sup> 当前README将这一控制平面（Gobblin-as-a-Service）描述为支持以编程方式触发和编排数据平面操作。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup>

对于在Hadoop上运行Gobblin的环境，文档指出Gobblin可在Hadoop 2.x上运行（默认针对Hadoop 2.3.0编译），并且Hadoop map任务充当Gobblin工作单元的容器，因此一个map任务可能报告100%完成，而Gobblin仍在执行工作。<sup>[12](https://gobblin.apache.org/docs/user-guide/FAQs/)</sup>

## 项目历史与社区

Gobblin于2017年2月23日进入Apache孵化器，此前一项提案获得孵化器项目管理委员会的一致通过。<sup>[5](https://www.linkedin.com/blog/engineering/open-source/gobblin-enters-apache-incubation)</sup><sup> • </sup><sup>[2](https://incubator.apache.org/projects/gobblin.html)</sup> 其孵化期间的版本包括0.12.0（2018年6月）、0.13.0（2018年9月）、0.14.0（2018年11月）和0.15.0-incubating（2020年12月）。<sup>[2](https://incubator.apache.org/projects/gobblin.html)</sup> ASF董事会于2021年1月20日将Apache Gobblin确立为顶级项目，公开公告于2021年2月16日发布。<sup>[2](https://incubator.apache.org/projects/gobblin.html)</sup><sup> • </sup><sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup> Apache Gobblin副总裁阿比谢克·蒂瓦里（Abhishek Tiwari）当时报告称，自进入孵化器以来已发布四个版本，社区有超过75名贡献者。<sup>[1](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)</sup>

毕业后的发布活动以一定间隔持续进行：2021年8月的0.16.0，以及2023年6月14日发布的0.17.0（变更日志日期为2023年6月13日）。<sup>[13](https://tooling-bat.apache.org/gobblin/index.html)</sup><sup> • </sup><sup>[14](https://github.com/apache/gobblin/blob/master/CHANGELOG.md)</sup> 截至2026年的季度董事会报告显示项目持续运作，有23名提交者和12名PMC成员，并指出近期开发重点在于Gobblin可靠性、GaaS编排性能、Iceberg兼容性和基于清单的复制改进。<sup>[6](https://whimsy.apache.org/board/minutes/Gobblin.html)</sup> GitHub上的Apache Gobblin仓库显示有2.3k星标和749个复刻。<sup>[3](https://github.com/apache/gobblin/blob/master/README.md)</sup>

## 与相关工具的比较

项目文档本身将Gobblin与Sqoop区分开来：Sqoop侧重于关系数据库与HDFS之间的批量导入导出，缺乏Gobblin提供的数据清洗、转换和质量检查功能，而Gobblin可以从文件系统、关系存储和REST API中拉取数据。<sup>[12](https://gobblin.apache.org/docs/user-guide/FAQs/)</sup> VLDB论文指出，[Apache Sqoop](https://www.edgepedia.org/zh/apache-sqoop)是发表时与Gobblin最具可比性的系统。<sup>[10](https://www.vldb.org/pvldb/vol8/p1764-qiao.pdf)</sup> 与Apache NiFi相比，实践者区分了框架与独立应用：NiFi本身就是一个应用，采用常开流模型，而Gobblin是用于构建和运行集成作业的框架。<sup>[15](https://stackoverflow.com/questions/49010622/apache-nifi-vs-gobblin)</sup>

## References

1. [The Apache Software Foundation Announces Apache Gobblin as a Top-Level Project, ASF Blogs Archive (16 February 2021)](https://blogsarchive.apache.org/foundation/entry/the-apache-software-foundation-announces73)
2. [Gobblin Project Incubation Status, Apache Incubator](https://incubator.apache.org/projects/gobblin.html)
3. [Apache Gobblin README, apache/gobblin on GitHub](https://github.com/apache/gobblin/blob/master/README.md)
4. [Apache Gobblin project website](https://gobblin.apache.org/)
5. [Gobblin Enters Apache Incubation, Abhishek Tiwari, LinkedIn Engineering (17 January 2018)](https://www.linkedin.com/blog/engineering/open-source/gobblin-enters-apache-incubation)
6. [Board Meeting Minutes: Gobblin, Apache Software Foundation](https://whimsy.apache.org/board/minutes/Gobblin.html)
7. [Home - Apache Gobblin documentation](https://gobblin.apache.org/docs/)
8. [Gobblin, LinkedIn Engineering teams page](https://engineering.linkedin.com/teams/data/analytics-platform-apps/analytics-platforms/gobblin)
9. [LinkedIn details Gobblin, its best tool yet to get all relevant data ready for analysis, Jordan Novet, VentureBeat (25 November 2014)](https://venturebeat.com/social/linkedin-details-gobblin-its-best-tool-yet-for-get-all-relevant-data-ready-for-analysis)
10. [Lin Qiao et al., "Gobblin: Unifying Data Ingestion for Hadoop," Proceedings of the VLDB Endowment, Vol. 8, No. 12 (2015)](https://www.vldb.org/pvldb/vol8/p1764-qiao.pdf)
11. [Bridging Batch and Streaming Data Ingestion with Gobblin, Shirshanka Das, LinkedIn Engineering (28 September 2015)](https://engineering.linkedin.com/big-data/bridging-batch-and-streaming-data-ingestion-gobblin)
12. [FAQs - Apache Gobblin](https://gobblin.apache.org/docs/user-guide/FAQs/)
13. [Apache Gobblin ~ Apache Release Catalog](https://tooling-bat.apache.org/gobblin/index.html)
14. [gobblin/CHANGELOG.md, apache/gobblin on GitHub](https://github.com/apache/gobblin/blob/master/CHANGELOG.md)
15. [Apache Nifi vs Gobblin, Stack Overflow](https://stackoverflow.com/questions/49010622/apache-nifi-vs-gobblin)

---
*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-gobblin

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