subscribe
Subscribes to events from a channel with a topic.
subscribe [topic:string]
Description
Section titled “Description”The subscribe
operator subscribes to events from a channel with the specified
topic. Multiple subscribe
operators with the same topic receive the same
events.
Subscribers propagate back pressure to publishers. If a subscribing pipeline fails to keep up, all publishers will slow down as well to a matching speed to avoid data loss. This mechanism is disabled for pipelines that are not visible on the overview page on app.tenzir.com, which drop data rather than slow down their publishers.
topic: string (optional)
Section titled “topic: string (optional)”An optional channel name to subscribe to. If unspecified, the operator
subscribes to the topic main
.
Examples
Section titled “Examples”Subscribe to the events under a topic
Section titled “Subscribe to the events under a topic”subscribe "zeek-conn"