Skip to main content

Library for creating stream data producer / consumer client library.

Project description

Documentation Status https://github.com/MacHu-GWU/unistream-project/workflows/CI/badge.svg https://codecov.io/gh/MacHu-GWU/unistream-project/branch/main/graph/badge.svg https://img.shields.io/pypi/v/unistream.svg https://img.shields.io/pypi/l/unistream.svg https://img.shields.io/pypi/pyversions/unistream.svg https://img.shields.io/badge/Release_History!--None.svg?style=social https://img.shields.io/badge/STAR_Me_on_GitHub!--None.svg?style=social
https://img.shields.io/badge/Link-Document-blue.svg https://img.shields.io/badge/Link-API-blue.svg https://img.shields.io/badge/Link-Install-blue.svg https://img.shields.io/badge/Link-GitHub-blue.svg https://img.shields.io/badge/Link-Submit_Issue-blue.svg https://img.shields.io/badge/Link-Request_Feature-blue.svg https://img.shields.io/badge/Link-Download-blue.svg

Welcome to unistream Documentation

📔 See Full Documentation HERE.

https://unistream.readthedocs.io/en/latest/_static/unistream-logo.png

The library at hand provides a powerful abstraction for data producers and consumers—clients responsible for interfacing with stream processing systems. These clients handle the task of sending data to stream processing systems and pulling data from various streams, including but not limited to Apache Kafka, Apache Pulsar, AWS Kinesis, AWS SQS, and AWS CloudWatch logs.

This library offers a comprehensive set of business-critical features out of the box:

  1. Efficient Record Buffering: It intelligently groups records into micro-batches, optimizing network bandwidth utilization for enhanced performance.

  2. Data Integrity: To ensure data integrity, the library leverages a local write-ahead log mechanism, mitigating the risk of unexpected errors and data loss during the data transfer process.

  3. Automatic Retrying: With an integrated automatic retry mechanism using exponential backoff strategies, transient errors are managed seamlessly, contributing to a robust and reliable data transfer process.

  4. Checkpoint Management: The library automatically handles checkpoints, allowing for the storage of consumption progress and processing status for each record. This feature enhances traceability and fault tolerance, especially in critical business use cases.

Install

unistream is released on PyPI, so all you need is to:

$ pip install unistream

To upgrade to latest version:

$ pip install --upgrade unistream

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

unistream-0.1.1.tar.gz (48.5 kB view hashes)

Uploaded Source

Built Distribution

unistream-0.1.1-py3-none-any.whl (51.8 kB view hashes)

Uploaded Python 3

Supported by

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