Skip to main content

Official plugins for agora-etl — Kafka, PostgreSQL, Redis, cron scheduling, and distributed coordination.

Project description

Agora ETL Plugins

Official plugin collection for agora-etl — Redis, cron scheduling, distributed coordination, Kafka, and PostgreSQL.

License Python PyPI


Overview

agora-etl-plugins extends agora-etl with production-ready integrations. Plugins are auto-discovered via Python entry-points — install the package and they register themselves automatically, no manual wiring needed.

Canonical ecosystem docs live in the Agora docs site:

  • Plugin ecosystem overview: https://agora.my-working.com/plugins/
  • Core docs home: https://agora.my-working.com/

This README stays focused on package-specific quickstart information.

from agora import DeliveryConfig, Pipeline
from agora_plugins.redis.sources import RedisStreamSource
from agora_plugins.redis.sinks import RedisSink

summary = await (
    Pipeline(RedisStreamSource(url="redis://localhost:6379", stream="events", group="my-group", consumer="worker-1"))
    .build(
        RedisSink(url="redis://localhost:6379", key_fn=lambda r: r["id"]),
        config=DeliveryConfig(batch_size=100),
    )
    .run()
)
print(f"written={summary.records_written}  errors={summary.records_errored}")

Install

pip install "agora-etl-plugins[redis]"        # Redis source, sink, state, DLQ, dedup, AI cache
pip install "agora-etl-plugins[cron]"         # Cron schedule support for ScheduledPipeline
pip install "agora-etl-plugins[distributed]"  # Redis-backed distributed worker coordination
pip install "agora-etl-plugins[kafka]"        # Kafka source and sink
pip install "agora-etl-plugins[postgres]"     # PostgreSQL source, sink, DLQ, schema adapter
pip install "agora-etl-plugins[all]"          # Everything in one install

This package now targets agora-etl>=0.2.1.

For plugin sources such as Redis Streams, Kafka, and PostgreSQL, agora-etl 0.2.1 adds two core improvements worth adopting by default:

  • DeliveryConfig(batch_size=100) improves throughput on the linear lane.
  • BatchMiddleware now works correctly even when the source emits one record at a time.

If your pipelines checkpoint frequently, you can also enable the Rust checkpoint hot path from the core package:

pip install "agora-etl[rs]" "agora-etl-plugins[redis]"

Available plugins

Redis [redis]

Full Redis integration — streaming ingestion, writes, dead-letter queue, state, deduplication, and LLM response caching.

Component Type Description
RedisStreamSource Source Consume records from a Redis Stream via XREADGROUP
RedisSink Sink Write records to Redis (SET / LPUSH / RPUSH / XADD)
RedisDLQSink Sink Route failed records to a Redis-backed dead-letter queue
RedisDLQSource Source Replay failed records from the Redis DLQ
RedisBackend State Redis-backed state backend with TTL and membership support
RedisStore Dedup Exact-match deduplication via Redis SET NX
RedisEmbeddingStore Dedup Semantic deduplication using cosine similarity (up to ~10k entries)
RedisLLMCache AI Cache Distributed LLM response cache backed by Redis

License

Apache 2.0 — see LICENSE.

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

agora_etl_plugins-0.3.0.tar.gz (64.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agora_etl_plugins-0.3.0-py3-none-any.whl (55.7 kB view details)

Uploaded Python 3

File details

Details for the file agora_etl_plugins-0.3.0.tar.gz.

File metadata

  • Download URL: agora_etl_plugins-0.3.0.tar.gz
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agora_etl_plugins-0.3.0.tar.gz
Algorithm Hash digest
SHA256 f120b199819db8b703fe8b16c507592983014082e0c2b77a2547161b4caf06bf
MD5 46328af2db0cb4d19646edbdaa25f8a8
BLAKE2b-256 b25206fa88ae4a0b9328d2293995fa1bba0bdee19acc206b3ba2e9a0b8e78802

See more details on using hashes here.

Provenance

The following attestation bundles were made for agora_etl_plugins-0.3.0.tar.gz:

Publisher: release.yml on thanhtham010891/agora-etl-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agora_etl_plugins-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agora_etl_plugins-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 893d2957863c5ef55365b1b31f112eb66559e10637037deed2039c252135f6f7
MD5 3d98ac8646a9a17706b20c679dfa9165
BLAKE2b-256 db7a740d3a24bc976563ef63ef8a4e65e779ef422635261cc4f4a7e1f2170c61

See more details on using hashes here.

Provenance

The following attestation bundles were made for agora_etl_plugins-0.3.0-py3-none-any.whl:

Publisher: release.yml on thanhtham010891/agora-etl-plugins

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page