Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `mapstructure:"address,omitempty"` Topic string `mapstructure:"topic,omitempty"` Name string `mapstructure:"name,omitempty"` MaxRetry int `mapstructure:"max-retry,omitempty"` Timeout int `mapstructure:"timeout,omitempty"` }
Config //
type KafkaOutput ¶
type KafkaOutput struct { Cfg *Config // contains filtered or unexported fields }
KafkaOutput //
func (*KafkaOutput) Init ¶
func (k *KafkaOutput) Init(cfg map[string]interface{}, logger *log.Logger) error
Init /
func (*KafkaOutput) String ¶
func (k *KafkaOutput) String() string
Click to show internal directories.
Click to hide internal directories.