mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
BrokerStore<->Zeek table - introdude &backend attribute
The &backend attribute allows for a much more convenient way of interacting with brokerstores. One does not need to create a broker store anymore - instead all of this is done internally. The current state of this partially works. This should work fine for persistence - but clones are currently not yet correctly attached.
This commit is contained in:
parent
43d2289754
commit
318a72c303
10 changed files with 187 additions and 3 deletions
|
@ -249,6 +249,10 @@ export {
|
|||
global nodeid_topic: function(id: string): string;
|
||||
}
|
||||
|
||||
@if ( Cluster::is_enabled() && Cluster::local_node_type() != Cluster::MANAGER ) )
|
||||
redef Broker::store_master = T;
|
||||
@endif
|
||||
|
||||
global active_worker_ids: set[string] = set();
|
||||
|
||||
type NamedNode: record {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue