Skip to main content

BatchWriterConfig

Trait BatchWriterConfig 

Source
pub trait BatchWriterConfig:
    Healthcheck
    + Send
    + Sync {
    // Required methods
    fn max_events_per_file(&self) -> usize;
    fn max_bytes_per_file(&self) -> usize;
    fn max_age_secs(&self) -> u64;
}
Expand description

Trait for Batch Writer configurations.

Required Methods§

Source

fn max_events_per_file(&self) -> usize

Returns the maximum events per file.

Source

fn max_bytes_per_file(&self) -> usize

Returns the maximum bytes per file.

Source

fn max_age_secs(&self) -> u64

Returns the maximum age of a batch in seconds.

Implementors§