RepositoryPython
astronomer

astronomer/astronomer-cosmos

Run your dbt Core or dbt Fusion projects as Apache Airflow DAGs and Task Groups with a few lines of code

1.3ksao
325fork
157issue
2lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: apache-airflow

#1 Repository Của Tuần

1
TINIX TRENDING·Chủ đề: airflow-operators

#1 Repository Của Tuần

2
TINIX TRENDING·Chủ đề: airflow

#2 Repository Của Tuần

🚀 Chạy dbt Core trên Airflow chỉ với vài dòng code

Cosmos biến dự án dbt thành DAG Airflow đầy đủ tính năng — retries, alerts, test — mà không cần viết DAG thủ công.

astronomer-cosmos là thư viện Python miễn phí nguồn (Apache 2.0) giúp bạn chạy các dự án dbt Core trực tiếp trên Apache Airflow dưới dạng DAG hoặc Task Group. Phát triển bởi nhóm Astronomer, Cosmos cho phép bạn tận dụng toàn bộ cơ chế của Airflow — lên lịch, retry, giám sát — để quản lý và thực thi các pipeline dbt một cách chuyên nghiệp.

✨ Điểm nổi bật

  • Dễ dùng với DbtDag: Chỉ cần vài dòng code để tạo DAG từ dự án dbt, ví dụ với jaffle_shop.
  • Tích hợp Airflow Connections: Không cần cấu hình dbt profiles — dùng kết nối Airflow trực tiếp.
  • Hỗ trợ môi trường ảo (venv): Cài đặt và chạy dbt trong venv riêng, tránh xung đột dependency với Airflow.
  • Test ngay sau khi model chạy xong: Bắt lỗi sớm bằng cách chạy test ngay sau khi model hoàn thành.
  • Lên lịp data-aware: Dùng lịch trình dựa trên dữ liệu của Airflow để chạy model ngay khi dữ liệu nguồn sẵn sàng.
  • Mỗi model là một task/task group: Tận dụng retry, alerting và giám sát chi tiết từng model.

💡 Vì sao đáng chú ý

Cosmos khác biệt so với cách chạy dbt thủ công hay dùng BashOperator là cách nó tích hợp sâu với Airflow: từ việc dùng Airflow Connection thay cho profiles.yml, đến việc tự động tạo DAG từ cấu trúc model trong dự án dbt. Điều này giúp giảm thiểu công đoạn cấu hình và tăng tính duy trì.

Phù hợp cho các nhóm DevOps, Data Engineering đang dùng Airflow để orchestrate và muốn đưa dbt vào luồng làm việc một cách chuẩn, có kiểm soát lỗi và hỗ trợ retry tự động.


#dbt #ApacheAirflow #DataEngineering #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
langgenius/dify

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

159.6k
Oct 26, 2026
RepositoryPython
apache/airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

47.3k
Oct 26, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

187.7k
Oct 24, 2026
RepositoryPython
langchain-ai/langchain

The agent engineering platform.

148.4k
Oct 24, 2026
RepositoryPython
Shubhamsaboo/awesome-llm-apps

100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.

143.0k
Oct 22, 2026
RepositoryPython
san089/goodreads_etl_pipeline

An end-to-end GoodReads Data Pipeline for Building Data Lake, Data Warehouse and Analytics Platform.

1.6k
Mar 9, 2020
RepositoryPython
astronomer/dag-factory

Construct Apache Airflow DAGs Declaratively via YAML configuration files

1.5k
Oct 23, 2026
RepositoryPython
ankurchavda/streamify

A data engineering project with Kafka, Spark Streaming, dbt, Docker, Airflow, Terraform, GCP and much more!

920
Apr 16, 2022
RepositoryPython
andreax79/airflow-code-editor

A plugin for Apache Airflow that allows you to edit DAGs in browser

470
Oct 20, 2026