pub trait EmitterConfig:
Healthcheck
+ Send
+ Sync {
// Required methods
fn batch_size(&self) -> usize;
fn batch_timeout_secs(&self) -> u64;
}Expand description
Trait for Serverless Emitter configurations.
Required Methods§
Sourcefn batch_size(&self) -> usize
fn batch_size(&self) -> usize
Returns the batch size (event count).
Sourcefn batch_timeout_secs(&self) -> u64
fn batch_timeout_secs(&self) -> u64
Returns the batch timeout in seconds.