Skip to main content

pg-streamline is a Python library designed to simplify and streamline the process of logical replication

Project description

pg-streamline-py

Streamlining PostgreSQL Logical Replication and Event Processing

pg-streamline is a Python library designed to simplify and streamline the process of logical replication and event processing with PostgreSQL. It provides modular components for producers, consumers, parsers, and plugins, making it highly extensible and customizable.


Table of Contents

  1. Installation
  2. Features
  3. Usage
  4. Contributing
  5. License

Installation

pip install pg-streamline

Features

Producer

  • Handles PostgreSQL logical replication.
  • Supports multiple output plugins like 'pgoutput' and 'wal2json'.
  • Pooling support for better performance.

For more details, see the Producer README.

Consumer

  • Consumes and processes the events replicated by the producer.
  • Extensible: Can be extended to perform custom actions when specific database changes occur.

For more details, see the Consumer README.

Parser

  • Parses different types of logical events from PostgreSQL.
  • Supports parsing of INSERT, UPDATE, and DELETE events.
  • Makes it easier to understand and act upon the changes in the database.

For more details, see the Parser README.

Plugins

  • Extend the functionality of pgStreamline with various plugins.
  • Currently supports RabbitMQ for message queuing.
  • More plugins are in development.

For more details, see the Plugins README.

Usage

Please refer to the README files in each module's directory for specific usage instructions:

Contributing

We welcome contributions! Please see the Contributing Guidelines for more details.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

pg-streamline-1.2.0.tar.gz (17.5 kB view hashes)

Uploaded Source

Built Distribution

pg_streamline-1.2.0-py3-none-any.whl (25.7 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