Class | Description |
---|---|
PublishBeacon |
Publishes a beacon stream on a topic.
|
SubscribeBeacon |
Application which subscribes to a topic.
|
To demo these applications execute the PublishBeacon
application one or more times and then the SubscribeBeacon
one or more times. Then view the Streams console or Streams Studio
live instance graph to see that the applications connected.
To see the dynamic nature you can run: publish, subscribe, subscribe,
publish,subscribe and then see the first two subscribe applications
did connect up with the publish application that was submitted after them.
For example, the output in Streams Studio instance graph would look
something like this, where you can see five running jobs, two publishers
(jobs ids 42, 45) and three subscribers (jobs 43,44, 46):