Skip to content

定时任务管理平台,管理和调度各种离线定时任务,自带 Web 管理界面。当定时任务量达到百级别的时候,就无法再使用 crontab 有效、方便地管理这些任务了。该项目就是为了解决了这个问题而诞生的

License

Notifications You must be signed in to change notification settings

LessChina/incubator-airflow

 
 

Repository files navigation

Apache Airflow (Incubating)

PyPI version Build Status Coverage Status Documentation Status License PyPI - Python Version Twitter Follow

NOTE: The transition from 1.8.0 (or before) to 1.8.1 (or after) requires uninstalling Apache Airflow before installing the new version. The package name was changed from airflow to apache-airflow as of version 1.8.1.

Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.

When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.

Use Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.

Getting started

Please visit the Airflow Platform documentation (latest stable release) for help with installing Airflow, getting a quick start, or a more complete tutorial.

Documentation of GitHub master (latest development branch): ReadTheDocs Documentation

For further information, please visit the Airflow Wiki.

Beyond the Horizon

Airflow is not a data streaming solution. Tasks do not move data from one to the other (though tasks can exchange metadata!). Airflow is not in the Spark Streaming or Storm space, it is more comparable to Oozie or Azkaban.

Workflows are expected to be mostly static or slowly changing. You can think of the structure of the tasks in your workflow as slightly more dynamic than a database structure would be. Airflow workflows are expected to look similar from a run to the next, this allows for clarity around unit of work and continuity.

Principles

  • Dynamic: Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.
  • Extensible: Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.
  • Elegant: Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful Jinja templating engine.
  • Scalable: Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers.

User Interface

  • DAGs: Overview of all DAGs in your environment.

  • Tree View: Tree representation of a DAG that spans across time.

  • Graph View: Visualization of a DAG's dependencies and their current status for a specific run.

  • Task Duration: Total time spent on different tasks over time.

  • Gantt View: Duration and overlap of a DAG.

  • Code View: Quick way to view source code of a DAG.

Contributing

Want to help build Apache Airflow? Check out our contributing documentation.

Who uses Apache Airflow?

As the Apache Airflow community grows, we'd like to keep track of who is using the platform. Please send a PR with your company name and @githubhandle if you may.

Currently officially using Airflow:

  1. 6play [@lemourA, @achaussende, @d-nguyen, @julien-gm]
  2. 8fit [@nicor88, @frnzska]
  3. AdBOOST [AdBOOST]
  4. Agari [@r39132]
  5. Airbnb [@mistercrunch, @artwr]
  6. Airtel [@harishbisht]
  7. Alan [@charles-go]
  8. allegro.pl [@kretes]
  9. AltX [@pedromduarte]
  10. Apigee [@btallman]
  11. ARGO Labs [California Data Collaborative]
  12. Arquivei [@arquivei]
  13. Astronomer [@schnie, @andscoop, @tedmiston, @benjamingregory]
  14. Auth0 [@sicarul]
  15. Away [@trunsky]
  16. Azri Solutions [@userimack]
  17. BalanceHero [@swalloow]
  18. Banco de Formaturas [@guiligan]
  19. BandwidthX [@dineshdsharma]
  20. BBM
  21. Bellhops
  22. BelugaDB [@fabio-nukui & @joao-sallaberry & @lucianoviola & @tmatuki]
  23. BlaBlaCar [@puckel & @wmorin]
  24. Bloc [@dpaola2]
  25. Blue Yonder [@blue-yonder]
  26. BlueApron [@jasonjho & @matthewdavidhauser]
  27. Bluecore [@JLDLaughlin]
  28. Boda Telecom Suite - CE [@erssebaggala, @bodastage]
  29. Bodastage Solutions [@erssebaggala, @bodastage]
  30. Bombora Inc [@jeffkpayne, @TheOriginalAlex]
  31. Bonnier Broadcasting [@wileeam]
  32. BounceX [@JoshFerge, @hudsonrio, @ronniekritou]
  33. Branch [@sdebarshi, @dmitrig01]
  34. California Data Collaborative powered by ARGO Labs
  35. Carbonite [@ajbosco]
  36. CAVA [@minh5]
  37. Celect [@superdosh & @chadcelect]
  38. Censys [@zakird, @dadrian, & @andrewsardone]
  39. Change.org [@change, @vijaykramesh]
  40. Checkr [@tongboh]
  41. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  42. Cinimex DataLab [@kdubovikov]
  43. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  44. Clairvoyant @shekharv
  45. Clover Health [@gwax & @vansivallab]
  46. Chartboost [@cgelman & @dclubb]
  47. Collectivehealth Inc. @retornam
  48. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  49. Cotap [@maraca & @richardchew]
  50. Craig@Work
  51. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  52. CreditCards.com[@vmAggies & @jay-wallaby]
  53. Creditas [@dcassiano]
  54. Custom Ink [@david-dalisay, @dmartin11 & @mpeteuil]
  55. Dailymotion [@germaintanguy & @hc]
  56. Data Reply [@kaxil]
  57. DataFox [@sudowork]
  58. Digital First Media [@duffn & @mschmo & @seanmuth]
  59. DocuTAP [@jshvrsn & @lhvphan & @cloneluke]
  60. Dotmodus [@dannylee12]
  61. Drivy [@AntoineAugusti]
  62. Easy Taxi [@caique-lima & @WesleyBatista & @diraol]
  63. Enigma [@hydrosquall]
  64. eRevalue [@hamedhsn]
  65. evo.company [@orhideous]
  66. Flipp [@sethwilsonwishabi]
  67. Format [@format & @jasonicarter]
  68. FreshBooks [@DinoCow]
  69. Fundera [@andyxhadji]
  70. G Adventures [@samuelmullin]
  71. GameWisp [@tjbiii & @theryanwalls]
  72. Gentner Lab [@neuromusic]
  73. Glassdoor [@syvineckruyk]
  74. Global Fashion Group [@GFG]
  75. GovTech GDS [@chrissng & @datagovsg]
  76. Gradeup [@gradeup]
  77. Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
  78. Groupalia [@jesusfcr]
  79. Groupon [@stevencasey]
  80. Gusto [@frankhsu]
  81. Handshake [@mhickman]
  82. Handy [@marcintustin / @mtustin-handy]
  83. happn [@PierreCORBEL]
  84. HBC Digital [@tmccartan & @dmateusp]
  85. HBO[@yiwang]
  86. Healthjump [@miscbits]
  87. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  88. Hipages [@arihantsurana]
  89. Holimetrix [@thibault-ketterer]
  90. Hootsuite
  91. Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
  92. HotelQuickly [@zinuzoid]
  93. IFTTT [@apurvajoshi]
  94. iHeartRadio[@yiwang]
  95. imgix [@dclubb]
  96. ING
  97. Intercom [@fox & @paulvic]
  98. Investorise [@svenvarkel]
  99. Jampp
  100. Jeitto [@BrennerPablo & @ds-mauri]
  101. JobTeaser [@stefani75 & @knil-sama]
  102. Kalibrr [@charlesverdad]
  103. Karmic [@hyw]
  104. King [@nathadfield]
  105. Kiwi.com [@underyx]
  106. Kogan.com [@geeknam]
  107. KPN B.V. [@biyanisuraj & @gmic]
  108. Lemann Foundation [@fernandosjp]
  109. LendUp [@lendup]
  110. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  111. Liberty Global [@LibertyGlobal]
  112. liligo [@tromika]
  113. LingoChamp [@haitaoyao]
  114. Lucid [@jbrownlucid & @kkourtchikov]
  115. Lumos Labs [@rfroetscher & @zzztimbo]
  116. Lyft[@SaurabhBajaj]
  117. M4U [@msantino]
  118. Madrone [@mbreining & @scotthb]
  119. Markovian [@al-xv, @skogsbaeck, @waltherg]
  120. Mercadoni [@demorenoc]
  121. Mercari [@yu-iskw]
  122. MFG Labs
  123. MiNODES [@dice89, @diazcelsa]
  124. Modernizing Medicine[@kehv1n, @dalupus]
  125. Multiply [@nrhvyc]
  126. mytaxi [@mytaxi]
  127. Nerdwallet
  128. New Relic [@marcweil]
  129. Newzoo [@newzoo-nexus]
  130. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  131. OdysseyPrime [@davideberdin]
  132. OfferUp
  133. OneFineStay [@slangwald]
  134. Open Knowledge International @vitorbaptista
  135. Overstock [@mhousley & @mct0006]
  136. Pandora Media [@Acehaidrey & @wolfier]
  137. PAYMILL [@paymill & @matthiashuschle]
  138. PayPal [@r39132 & @jhsenjaliya]
  139. Pernod-Ricard [@romain-nio]
  140. Plaid [@plaid, @AustinBGibbons & @jeeyoungk]
  141. Playbuzz [@clintonboys & @dbn]
  142. PMC [@andrewm4894]
  143. Postmates [@syeoryn]
  144. Pronto Tools [@zkan & @mesodiar]
  145. Publicis Pixelpark [@feluelle]
  146. PubNub [@jzucker2]
  147. Qplum [@manti]
  148. Quantopian [@eronarn]
  149. Qubole [@msumit]
  150. Quizlet [@quizlet]
  151. Quora
  152. REA Group
  153. Reddit [@reddit]
  154. Robinhood [@vineet-rh]
  155. Scaleway [@kdeldycke]
  156. Sense360 [@kamilmroczek]
  157. Shopkick [@shopkick]
  158. Sidecar [@getsidecar]
  159. SimilarWeb [@similarweb]
  160. SmartNews [@takus]
  161. SocialCops [@vinayak-mehta & @sharky93]
  162. Spotahome [@spotahome]
  163. Spotify [@znichols]
  164. Stackspace
  165. Stripe [@jbalogh]
  166. Strongmind [@tomchapin & @wongstein]
  167. Tails.com [@alanmcruickshank]
  168. THE ICONIC [@revathijay] [@ilikedata]
  169. Thinking Machines [@marksteve]
  170. Thinknear [@d3cay1, @ccson, & @ababian]
  171. Thumbtack [@natekupp]
  172. Tictail
  173. Tile [@ranjanmanish]
  174. Tokopedia @topedmaria
  175. Twine Labs [@ivorpeles]
  176. Twitter [@aoen]
  177. T2 Systems [@unclaimedpants]
  178. Ubisoft [@Walkoss]
  179. United Airlines [@ilopezfr]
  180. Upsight [@dhuang]
  181. Vente-Exclusive.com [@alexvanboxel]
  182. Vevo [@csetiawan & @jerrygillespie]
  183. Vidio
  184. Ville de Montréal@VilledeMontreal]
  185. Vnomics [@lpalum]
  186. WePay [@criccomini & @mtagle]
  187. WeTransfer [@jochem]
  188. Whistle Labs [@ananya77041]
  189. WiseBanyan
  190. Wooga
  191. Xero [@yan9yu]
  192. Xoom
  193. Yahoo!
  194. Yieldr [@ggeorgiadis]
  195. Zapier [@drknexus & @statwonk]
  196. Zego [@ruimffl]
  197. Zendesk
  198. Zenly [@cerisier & @jbdalido]
  199. Zymergen
  200. 99 [@fbenevides, @gustavoamigo & @mmmaia]

Who Maintains Apache Airflow?

Airflow is the work of the community, but the core committers/maintainers are responsible for reviewing and merging PRs as well as steering conversation around new feature requests. If you would like to become a maintainer, please review the Apache Airflow committer requirements.

Links

About

定时任务管理平台,管理和调度各种离线定时任务,自带 Web 管理界面。当定时任务量达到百级别的时候,就无法再使用 crontab 有效、方便地管理这些任务了。该项目就是为了解决了这个问题而诞生的

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 71.6%
  • JavaScript 22.1%
  • HTML 4.5%
  • CSS 1.1%
  • Shell 0.7%
  • Dockerfile 0.0%