Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Send MySQL binlog event to Google Cloud Pub/Sub

Project Description
MySQL binlog to Google Cloud Pub/Sub
====================================

This package allows to send MySQL binlog to Google Cloud Pub/Sub. Each binlog
event will be sent as a message.

You can use this package as a library or a command line.

It use https://github.com/tarzanjw/python-mysql-binlog-to-blinker to get binlog
event as blinker's signal.


How it works?
-------------

1. First, use pymysqlbinlog2blinker to get binlog and send to blinker's signals.
2. Subscribes the right signals (depended on configuration).
3. Pass the signal through list of filters (filters can be configured). For i.e:
It will remove column name's prefix, remove some sensitive columns. Rename
the schema or table etc,
3. On each row, make a JWT for it.
4. Send the JWT value to the pubsub topic, topic's name can be configured.


How to use?
-----------

.. code-block:: shell

mysqlbinlog2gpubsub_cli test_conf.yaml


Configuration file
------------------

Example file `example_conf.yaml <https://github.com/tarzanjw/python-mysql-binlog-pubsub/blob/master/example_conf.yaml>`_
Release History

Release History

This version
History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mysqlbinlog2gpubsub-1.0.7.tar.gz (10.8 kB) Copy SHA256 Checksum SHA256 Source Apr 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting