Skip to main content

Xbus Broker written in Python3

Project description

xbus.broker

Build Status

xbus.broker is the central piece of the Xbus project.

Related projects:

Xbus

Xbus is an Enterprise service bus. As such it aims to help IT departments achieve a better application infrastructure layout by providing a way to urbanize the IT systems.

The goals of urbanization are:
  • high coherence
  • low coupling
More information about Xbus:

Installing

Get requirements: python3-dev, 0mq, python3 and redis:

$ sudo apt-get install libzmq3-dev python3 python3-dev redis-server virtualenvwrapper

Set up a virtualenv with Python 3:

$ mkvirtualenv -p /usr/bin/python3 xbus

Install the xbus.broker package:

$ pip install xbus.broker

Configuring

Create configuration files (eg for the 0.1.3 version):

$ wget https://bitbucket.org/xcg/xbus.broker/raw/0.1.3/etc/config.ini-example -O config.ini
$ wget https://bitbucket.org/xcg/xbus.broker/raw/0.1.3/etc/logging.ini-example -O logging.ini

Edit the files following comments written inside. Note: Ensure the path to the logging file is an absolute path.

Initialize the database

Run the “setup_xbusbroker” program:

$ setup_xbusbroker -c config.ini

Migrating an existing database

Use the “migrate_xbus_broker” project. Instructions are on <https://bitbucket.org/xcg/migrate_xbus_broker/>.

Running

Run the “start_xbusbroker” program:

$ start_xbusbroker -c config.ini

Contributors

Sorted by commit date:

Changelog

0.2.0 (2016-06-27)

  • Better message state tracking.
  • Undelivered messages are re-sent when the recipient comes back.
  • More logging.
  • Documentation improvements.
  • Upgrade step: Migrate the DB to version 1 using <https://bitbucket.org/xcg/migrate_xbus_broker/>.

0.1.5 (2015-05-25)

  • Update requirements.

0.1.4 (2015-05-18)

  • Update the setup script wrt permission changes.
  • Define required package versions in setup.py and document why some are frozen.

0.1.3 (2015-05-11)

  • Improve the README and configuration file paths.

0.1.2 Initial release (2015-05-11)

  • Initial implementation of the Xbus broker in Python 3.

Project details


Download files

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

Files for xbus.broker, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size xbus.broker-0.2.0-py3.4.egg (104.4 kB) File type Egg Python version 3.4 Upload date Hashes View
Filename, size xbus.broker-0.2.0-py3-none-any.whl (46.7 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size xbus.broker-0.2.0.tar.gz (36.2 kB) File type Source Python version None Upload date Hashes View
Filename, size xbus.broker-0.2.0.zip (53.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page