Skip to main content

Asynchronous Proxy Server From RabbitMQ to WebSocket

Project description

Asynchronous RMQ -> Websocket Proxy Server

Here is an implementation of typical websocket server which receives messages from RMQ and process them and send to connected websocket clients

In the current state WS server is capable of:

  • Running a server instance which accepts websocket connections from clients and control them;
  • connecting to RabbitMQ, creating Exchange and Queue and consume on it;
  • receiving messages from RMQ Queue;
  • processing received RMQ messages and send them to connected websocket clients.

Struct

Pip

  • pip install aio-rmq-wss-proxy

Source

  • Clone repository
  • Run "cd aio_rmq_wss_proxy/"
  • Run "make install"
  • Run the commands "make run_server" & "make run_client" to see how does it works

Please, note that before running server and client you need to have installed and running Rabbit MQ broker.

This is how it works from the box.

Customization

You can see the "public_sample" in "_testing/public_sample" directory and use it for build your own proxy server

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

aio_rmq_wss_proxy-0.0.3.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

aio_rmq_wss_proxy-0.0.3-py3-none-any.whl (10.9 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