Watching All Events on an Event Bus
A fourth way of monitoring a bus is to watch all events using the
This option captures all events, including non-record events and lifecycle events for jobs and event buses
(when monitoring the system bus).
Here's the complete example using this approach.
Here's some of the output you'd see running this example. You can see it captures both the lifecycle events and the different record events for all topics.