pub struct DeduplicateConfig {
pub key: String,
pub window: String,
}Expand description
Configuration for the deduplicate operator
Eliminates duplicate events within a sliding time window.
- deduplicate:
key: source_id
window: 1hFields§
§key: StringField to use as deduplication key
window: StringSliding window duration (e.g., “1h”, “30m”)
Trait Implementations§
Source§impl Clone for DeduplicateConfig
impl Clone for DeduplicateConfig
Source§fn clone(&self) -> DeduplicateConfig
fn clone(&self) -> DeduplicateConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeduplicateConfig
impl Debug for DeduplicateConfig
Source§impl<'de> Deserialize<'de> for DeduplicateConfig
impl<'de> Deserialize<'de> for DeduplicateConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DeduplicateConfig
impl RefUnwindSafe for DeduplicateConfig
impl Send for DeduplicateConfig
impl Sync for DeduplicateConfig
impl Unpin for DeduplicateConfig
impl UnsafeUnpin for DeduplicateConfig
impl UnwindSafe for DeduplicateConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more