BigData / Apache Airflow Interview Questions
What are Airflow Plugins?
Plugins are a way to extend Airflow with custom operators, hooks, sensors, macros, UI views, and Flask blueprints without forking the core codebase. You place a Python module in the plugins folder (configured as plugins_folder) and Airflow automatically discovers it at startup.
# plugins/my_plugin.py from airflow.plugins_manager import AirflowPlugin from my_operators import MyCustomOperator class MyPlugin(AirflowPlugin): name = 'my_plugin' operators = [MyCustomOperator]
In modern Airflow 2.x, many extensions are better distributed as provider packages rather than plugins for easier versioning and reuse.
More Related questions...