https://github.com/shutterstock/devent-router
Route Devent messages by topic
https://github.com/shutterstock/devent-router
devent event-aggregation
Last synced: about 1 year ago
JSON representation
Route Devent messages by topic
- Host: GitHub
- URL: https://github.com/shutterstock/devent-router
- Owner: shutterstock
- License: mit
- Created: 2012-03-09T13:09:05.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2017-11-07T23:13:20.000Z (over 8 years ago)
- Last Synced: 2025-03-27T02:51:19.725Z (over 1 year ago)
- Topics: devent, event-aggregation
- Language: C
- Homepage:
- Size: 21.5 KB
- Stars: 5
- Watchers: 41
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
devent-router
=============
devent-router is a collection of event aggregation tools.
### Getting Started
First build devent-router:
make
Next start `dr-hub` and `dr-recv`:
./dr-hub 'tcp://*:5555' 'tcp://*:5556' &
./dr-recv 'tcp://*:5556' mytopic
In a new window open another instance of `dr-recv`:
./dr-recv 'tcp://*:5556' mytopic.second
And in one more window run `dr-send`:
echo "both topics" | ./dr-send 'tcp://*:5555' mytopic
echo "only second topic" | ./dr-send 'tcp://*:5555' mytopic.second
### Requirements
* [libzmq](https://github.com/zeromq/libzmq) >= 2.1
### License
[MIT](LICENSE) © 2011-2017 Shutterstock Images, LLC