cluster: Add on_subscribe() and on_unsubscribe() hooks

Closes #4176
This commit is contained in:
Arne Welzel 2025-07-30 11:01:12 +02:00
parent aabb36abf7
commit 1a87ebab72
9 changed files with 77 additions and 9 deletions

4
NEWS
View file

@ -279,6 +279,10 @@ New Functionality
``get_net_stats()``, it's possible to determine the number of packets that have
been received and accepted by Zeek, but eventually discarded without processing.
- Two new hooks, ``Cluster::on_subscribe()`` and ``Cluster::on_unsubscribe()`` have
been added to allow observing ``Subscribe()`` and ``Unsubscribe()`` calls on
backends by Zeek scripts.
Changed Functionality
---------------------