zeek/scripts/base/frameworks/broker
Benjamin Bannier d5fd29edcd Prefer explicit construction to coercion in record initialization
While we support initializing records via coercion from an expression
list, e.g.,

    local x: X = [$x1=1, $x2=2];

this can sometimes obscure the code to readers, e.g., when assigning to
value declared and typed elsewhere. The language runtime has a similar
overhead since instead of just constructing a known type it needs to
check at runtime that the coercion from the expression list is valid;
this can be slower than just writing the readible code in the first
place, see #4559.

With this patch we use explicit construction, e.g.,

    local x = X($x1=1, $x2=2);
2025-07-11 16:28:37 -07:00
..
__load__.zeek Support re-peering with Broker peers that fall behind 2024-12-06 15:18:05 -08:00
backpressure.zeek Use Broker peering directionality when re-peering after backpressure overflows 2025-04-21 14:08:42 -07:00
log.zeek Prefer explicit construction to coercion in record initialization 2025-07-11 16:28:37 -07:00
main.zeek Lower listen/connect retry intervals in Broker and the cluster framework to 1sec 2025-04-25 10:22:35 -07:00
README More bro-to-zeek renaming in scripts and other files 2019-05-16 02:36:41 -05:00
store.zeek broker/store: Extend SQLiteOptions around data safety and performance 2023-01-30 10:25:37 +01:00

The Broker communication framework facilitates connecting to remote Zeek
instances to share state and transfer events.