base/frameworks/cluster/publish-on-change.zeek

Cluster

Supporting script code for the &publish_on_change attribute.

Namespace:

Cluster

Imports:

base/bif/publish_on_change.bif.zeek

Summary

Redefinable Options

Cluster::default_publish_table_batch_size: count &redef

Default number of Cluster::TableChangeInfo records to use with Cluster::publish_table.

Functions

Cluster::publish_table: function

Publish the given table_val using multiple Cluster::table_change_infos event to the given topic.

Detailed Interface

Redefinable Options

Cluster::default_publish_table_batch_size
Type:

count

Attributes:

&redef

Default:

10000

Default number of Cluster::TableChangeInfo records to use with Cluster::publish_table.

Functions

Cluster::publish_table
Type:

function (topic: string, table_val: any, batch_size: count &default = Cluster::default_publish_table_batch_size &optional) : bool

Publish the given table_val using multiple Cluster::table_change_infos event to the given topic.

Parameters: