Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
ByteSize int `json:"byte_size" yaml:"byte_size"`
Count int `json:"count" yaml:"count"`
Check string `json:"check" yaml:"check"`
Period string `json:"period" yaml:"period"`
Processors []processor.Config `json:"processors" yaml:"processors"`
}
Config contains configuration parameters for a batch policy.
func (Config) IsHardLimited ¶
IsHardLimited returns true if there's a realistic limit on the batching policy, where checks are not included.
Click to show internal directories.
Click to hide internal directories.