Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseProducers ¶
func WriteStats ¶
func WriteStats()
Types ¶
type Emitter ¶
type Emitter struct { Name string `mapstructure:"name"` Locale string `mapstructure:"locale"` Num int `mapstructure:"num"` Frequency time.Duration `mapstructure:"frequency"` Duration time.Duration `mapstructure:"duration"` Preload int `mapstructure:"preload"` ValueTemplate string `mapstructure:"valueTemplate"` EmbeddedTemplate string `mapstructure:"embeddedTemplate"` KeyTemplate string `mapstructure:"keyTemplate"` OutputTemplate string `mapstructure:"outputTemplate"` Output string `mapstructure:"output"` Topic string `mapstructure:"topic"` Kcat bool `mapstructure:"kcat"` Oneline bool `mapstructure:"oneline"` Csv string `mapstructure:"csv"` Producer Producer KTpl tpl.Tpl VTpl tpl.Tpl }
func Initialize ¶
func InitializeEmitters ¶
func (*Emitter) Initialize ¶
func (e *Emitter) Initialize(conf configuration.GlobalConfiguration)
type Throughput ¶
type Throughput float64
func ParseThroughput ¶
func ParseThroughput(input string) (Throughput, error)
Click to show internal directories.
Click to hide internal directories.