pub fn with_max_export_batch_size(self, size: usize) -> Self {
        let mut config = self.config;
        if size > config.max_queue_size {
            config.max_export_batch_size = config.max_queue_size;
        } else {
            config.max_export_batch_size = size;
        }

        BatchLogProcessorBuilder { config, ..self }
    }
/// Set max export size for batches, should always less than or equals to max queue size.
///
/// If input is larger than max queue size, will lower it to be equal to max queue size
Set max export size for batches, should always less than or equals to max queue size.
If input is larger than max queue size, will lower it to be equal to max queue size
Set max export size for batches should always less than or equals to max queue size . If input is larger than max queue size will lower it to be equal to max queue size
pub fn with_max_export_batch_size(self, size: usize) -> Self {
        let mut config = self.config;
        if size > config.max_queue_size {
            config.max_export_batch_size = config.max_queue_size;
        } else {
            config.max_export_batch_size = size;
        }
        BatchLogProcessorBuilder { config, ..self }
    }
pub fn with_max_export_batch_size ( self , size : usize ) -> Self { let mut config = self . config ; if size > config . max_queue_size { config . max_export_batch_size = config . max_queue_size ; } else { config . max_export_batch_size = size ; } BatchLogProcessorBuilder { config , .. self } }
Set max export size for batches, should always less than or equals to max queue size.
Set max export size for batches should always less than or equals to max queue size .
self
size
usize
self
size
usize