Expand description
Gossip-based partial aggregate replication across nodes. Gossip-based partial aggregate replication across nodes.
Reuses the chitchat gossip protocol from the gossip discovery module to disseminate partial aggregates across the delta. Each node publishes its local partials to chitchat, and a merger reads both local and remote partials to produce cluster-wide aggregates.
§Key Format
Chitchat key namespace: agg/{pipeline_id}/{aggregate_name}/{window_scope}
§Watermark-Gated Windows
A window is considered FINAL when ALL nodes have a watermark >= window_end.
Structs§
- Aggregate
Keyspace - Chitchat key builder for aggregate namespacing.
- Cluster
Aggregate Result - Result of merging aggregates across the cluster.
- Gossip
Aggregate Value - A gossip-published aggregate value.
Enums§
- Aggregate
Scope - The scope of a gossip aggregate.
- Aggregate
State - Aggregate state for a single partial.
- Watermark
Gate Status - Watermark-gated window completion status.
Functions§
- check_
watermark_ gate - Checks watermark convergence for window completion.
- merge_
cluster_ aggregates - Merges partial aggregates from multiple nodes.