Skip to main content

esio-kinesis

Async AWS Kinesis client for the EdgeStack IoT platform. Provides publish, consume, and stream management with a factory pattern that supports sequential, concurrent, and Enhanced Fan-Out (EFO) consumer strategies.

Features

  • Async-native — built on aioboto3, safe in asyncio task groups
  • Consumer decorator pattern — ack() / rollback(cause) for explicit at-least-once processing
  • Redis checkpointing — resumes from last processed sequence number on restart
  • LocalStack compatible — AT_TIMESTAMP falls back to TRIM_HORIZON automatically
  • Factory pattern — swap KINESIS_CLIENT_TYPE=simple|concurrent|efo via env var, zero service code changes

Installation

pip install esio-kinesis

Quick start

from esio_kinesis import KinesisClientFactory

consumer = KinesisClientFactory.get(
    client_type='simple',
    endpoint_url='http://localhost:4566',   # omit for real AWS
    region='us-east-1',
    checkpoint_store=redis_client,          # optional Redis for checkpointing
    consumer_id='my-service',
)

# Publish
await consumer.put_record('my-stream', '{"hello": "world"}', partition_key='key')

# Consume — ack/rollback are explicit
async for message in consumer.consume('my-stream'):
    await process(message)
    await consumer.ack()

Consumer types

KINESIS_CLIENT_TYPE Description Status
simple Sequential polling with Redis checkpointing Available
concurrent Semaphore-bounded concurrent batch processing Planned
efo Enhanced Fan-Out via SubscribeToShard Planned

License

MIT

Metadata

Release files for esio-kinesis 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esio-kinesis 1.2.0
File Size Uploaded Provenance Actions
esio_kinesis-1.2.0.tar.gz 90.1 kB Without provenance Details for esio_kinesis-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esio-kinesis 1.2.0
File Interpreter ABI Platform Actions
esio_kinesis-1.2.0-py3-none-any.whl Python 3 none any Details for esio_kinesis-1.2.0-py3-none-any.whl

Total release size: 103.2 kB

Release files / esio_kinesis-1.2.0.tar.gz

Download URL esio_kinesis-1.2.0.tar.gz
Size 90.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2b79395e4df319f72ad0eee295ecd10d13044d3c512f820628bfb65c25e46d6f
BLAKE2b-256 checksum
How to use checksums
d483295f8aaa5104634a9eb22a4762f76b523916f11be144e6832df435316a6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / esio_kinesis-1.2.0-py3-none-any.whl

Download URL esio_kinesis-1.2.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09b1c9502bc9caeda0480f1ef83dc5c88781b95562758e08e626064c8f2838ed
BLAKE2b-256 checksum
How to use checksums
f1839556d03b0c3caf66300002abfd4afb785889e3a91b0b241053cc0f9a78be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for esio-kinesis 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page