apache-airflow-providers-apache-kafka
Provider package apache-airflow-providers-apache-kafka for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that extends Airflow with Kafka integration capabilities. It wraps the confluent-kafka library and exposes Kafka operators and hooks within Airflow's DAG framework, allowing you to define tasks that produce messages to or consume messages from Kafka topics as part of orchestrated workflows.
The package is maintained as part of the Apache Airflow project and is actively developed. It supports Python 3.10, 3.11, 3.12, 3.13, and 3.14, and requires Airflow >=2.11.0. Installation is straightforward via pip, and it has low dependency friction—the main runtime dependencies are apache-airflow, confluent-kafka, asgiref, and apache-airflow-providers-common-compat. No known security vulnerabilities are recorded.
Use it for:
- Stream event data into Kafka topics as part of a scheduled Airflow pipeline.
- Consume Kafka messages in an Airflow task and process them (e.g., transform, validate, load into a data warehouse).
- Orchestrate multi-stage data pipelines where Kafka serves as the message broker between Airflow tasks.
- Integrate Kafka-based microservices with Airflow workflows for event-driven data processing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates Apache Kafka with Apache Airflow, providing operators and hooks to produce and consume messages from Kafka topics as part of Airflow workflows.
Yes. This is a stable, actively maintained provider package from the Apache Airflow project with no known vulnerabilities, low install friction, and a permissive Apache-2.0 license. Install it if you need to integrate Kafka into Airflow DAGs. The only prerequisite is an existing Airflow >=2.11.0 installation and a Kafka broker to connect to.
Install
apache-airflow-providers-apache-kafka on PyPI
pip
pip install apache-airflow-providers-apache-kafkauv
uv add apache-airflow-providers-apache-kafkapoetry
poetry add apache-airflow-providers-apache-kafkaInstalling apache-airflow-providers-apache-kafka
Before you install
Low friction installation. Active maintenance with a release 6 days ago. Requires Apache Airflow >=2.11.0 and confluent-kafka >=2.6.0 (or >=2.13.2 for Python 3.14+), both straightforward dependencies.
License in practice
Apache-2.0 permissive license. You can use, modify, and distribute this package freely in commercial and private projects, provided you include a copy of the license and any NOTICE files.
Quickstart
pip install apache-airflow-providers-apache-kafka
from airflow.providers.apache.kafka.operators.produce_to_topic import ProduceToTopicOperator
task = ProduceToTopicOperator(
task_id='produce_to_kafka',
topic='my_topic',
producer_config={'bootstrap.servers': 'kafka_broker'}
)
Requires an existing Apache Airflow installation (>=2.11.0) and a running Kafka broker accessible at the configured bootstrap.servers address.
Verify before relying
- Specific operators and hooks available beyond produce/consume (e.g., consumer groups, offset management, schema registry integration).
- Whether optional extras (google, msk, common.messaging) are commonly needed or niche use cases.
- Example producer_config parameters and typical Kafka broker connection patterns.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — apache-airflow, apache-airflow-providers-common-compat, asgiref, confluent-kafka |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,928,602/month — #3,424 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_apache_kafka-1.15.1-py3-none-any.whl
Keywords: airflow-provider, apache.kafka, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-common-messagingProvides common messaging abstractions and…
permissive · top 15,000 on PyPI
apache-airflow-providers-redisProvides Redis integration for Apache Airflow,…
permissive · top 5,000 on PyPI
apache-airflow-providers-microsoft-azureIntegrates Apache Airflow with Microsoft Azure…
permissive · top 5,000 on PyPI
apache-airflow-providers-cncf-kubernetesIntegrates Apache Airflow with Kubernetes,…
permissive · top 5,000 on PyPI
apache-airflow-providers-httpProvides HTTP operators, hooks, and sensors for…
permissive · top 1,000 on PyPI
apache-airflow-providers-standardProvides standard operators, hooks, and sensors…
permissive · top 5,000 on PyPI
apache-airflow-providers-googleIntegrates Apache Airflow with Google Cloud…
permissive · top 1,000 on PyPI
apache-airflow-providers-databricksIntegrates Apache Airflow with Databricks,…
permissive · top 1,000 on PyPI
apache-airflow-providers-apache-cassandraIntegrates Apache Cassandra with Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-opensearchIntegrates OpenSearch with Apache Airflow,…
permissive · top 15,000 on PyPI