iliedanila / AsyncPubSub

Publisher - Subscriber on top of a self-routing node network (C++ 14)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PubSub

Asynchronous Publisher - Subscriber library on top of a self-routing node network (C++ 14)

This allows to create a dynamic network of publishers and subscribers (you can add/remove nodes while the system is running, add/remove subscriptions or start/stop certain publishers).

Requirements:

  • boost - install with sudo apt install libboost-all-dev on Ubuntu and brew install boost on MacOS

Feel free to submit inquiries about the above software at danila.ilie@gmail.com

Build:

./build.sh

Usage example:

startNode --name broker --accept 7777 --as broker --logger

startNode --name publisher --connect-reconnect localhost 7777 --as publisher --publish dummyData --interval 1000

startNode --name subscriber --connect-reconnect localhost 7777 --as subscriber --subscription dummyData

About

Publisher - Subscriber on top of a self-routing node network (C++ 14)

License:GNU General Public License v3.0


Languages

Language:C++ 87.5%Language:CMake 10.6%Language:Dockerfile 1.7%Language:Shell 0.1%