Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.25 KB

README.rst

File metadata and controls

59 lines (40 loc) · 1.25 KB

VOEvent-ZeroMQ Demo

This is a proof-of-concept of distributing VOEvent packets using ZeroMQ. This code is not production ready and is not intended for "serious" use.

Server

The server connects to a broker which provides events using the VOEvent Transport Protocol (by default, we use that provided by DC-3 Dreams). Events are rebroadcast using the ZeroMQ "pub/sub" system.

Requirements

Configuration

Edit the file config.py.

Usage

Run the server using Python:

$ python server.py

Client

The client connects to the server and receives events over ZeroMQ. It simply dumps the received events to standard output.

Requirements

Configuration

Edit the source.

Usage

Run the client using Python:

$ python client.py