Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::event_bus_config Struct Reference

Configuration for event bus. More...

#include <event_bus.h>

Collaboration diagram for kcenon::monitoring::event_bus_config:
Collaboration graph

Public Attributes

size_t max_queue_size = 10000
 
size_t worker_thread_count = 2
 
std::chrono::milliseconds processing_interval {10}
 
bool auto_start = false
 
bool enable_back_pressure = true
 
size_t back_pressure_threshold = 8000
 

Detailed Description

Configuration for event bus.

Examples
event_bus_example.cpp.

Definition at line 87 of file event_bus.h.

Member Data Documentation

◆ auto_start

◆ back_pressure_threshold

size_t kcenon::monitoring::event_bus_config::back_pressure_threshold = 8000

◆ enable_back_pressure

bool kcenon::monitoring::event_bus_config::enable_back_pressure = true

◆ max_queue_size

◆ processing_interval

std::chrono::milliseconds kcenon::monitoring::event_bus_config::processing_interval {10}

◆ worker_thread_count


The documentation for this struct was generated from the following file: