Astarte.Flow.Blocks.Sorter.Config (astarte_flow v0.1.0)
Link to this section Summary
Functions
Initialize config from a keyword list.
Link to this section Types
Link to this type
option()
@type option() :: {:deduplicate, boolean()} | {:delay_ms, pos_integer()}
Link to this section Functions
Link to this function
from_keyword(kl)
Initialize config from a keyword list.
options
Options
:deduplicate
- true when messages deduplication is enabled, otherwise false. Two messages are duplicate when they have same timestamp and value (any other field is ignored).:delay_ms
- the amount of time the message is kept for reorder and deduplicate operations.