Kafka IngestSource adapter for Astrocyte
Project description
astrocyte-ingestion-kafka
Optional IngestSource implementation: Kafka consumer (AIOKafkaConsumer), wired from sources: with type: stream and driver: kafka.
Install
pip install astrocyte-ingestion-kafka
In this monorepo, astrocyte[stream] includes this package (see astrocyte-py/pyproject.toml; package lives under adapters-ingestion-py/).
The package registers kafka under the astrocyte.ingest_stream_drivers entry-point group.
Config sketch
sources:
events:
type: stream
driver: kafka
url: "localhost:9092"
topic: "my-topic"
consumer_group: "astrocyte"
target_bank: "ingest"
Message values use astrocyte.ingest.payload.parse_ingest_kafka_value (see core docs).
Develop
cd adapters-ingestion-py/astrocyte-ingestion-kafka
uv sync --extra dev
uv run pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astrocyte_ingestion_kafka-0.8.1.tar.gz.
File metadata
- Download URL: astrocyte_ingestion_kafka-0.8.1.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08131fff197444d0e4e04e8b8d245b5bc8b4e9b63f62c5001ca930b3059de93c
|
|
| MD5 |
77946579a578bb18a48d35b8498bf23f
|
|
| BLAKE2b-256 |
d56d318edb2b031fbd4d61fbfe21676d788da98ce7ec2d03e22d7b501d922f3a
|
File details
Details for the file astrocyte_ingestion_kafka-0.8.1-py3-none-any.whl.
File metadata
- Download URL: astrocyte_ingestion_kafka-0.8.1-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26ece4cecfc33176e8d4df1bf9a2208daaf9102aafc322855d4d804816d94df7
|
|
| MD5 |
96bbceb99c48a082bfdac024ca6861bb
|
|
| BLAKE2b-256 |
231d8536669574eb1ea6c607071827fd846804cdf6868d4f2a67868b881336a5
|