Generic Event Channel publisher
Overview
rtctkGenEventPub is a troubleshooting tool used to publish events to an Event Channel
topic.
It can be used to artificially generate and Event Channel topic event, and see if it is received by
one or more Event Channel subscribers in the system.
Together with Generic Event Channel subscriber, it can be used to verify if events
can be sent and received between two or more machines.
Running
The generic Event Channel publisher is run by executing: rtctkGenEventPub with the proper command line arguments.
For a list of command line options, run the executable with option -h.
E.g. run the publisher that publishes 100 events every 200ms to test_ec
topic with payload {"type" : ["TestType" ], "origin" : "test_source", "time" : 123}:
$ rtctkGenEventPub -r 100 -d 200 test_ec '{"type" : ["TestType" ], "origin" : "test_source", "time" : 123}'
This is going to publish 100 events, which is indicated with a message like:
publish 100
And after it is done with a message like:
publish 100 done
Stopping
The process ends after the given number of events have been published, or it can be stopped during publishing using Ctrl-C.