Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaSink ¶
type KafkaSink struct {
// contains filtered or unexported fields
}
KafkaSink ...
func NewKafkaSink ¶
func NewKafkaSink(kconf *KafkaSinkConf) *KafkaSink
NewKafkaSink creates a new sink object given the conf
type KafkaSinkConf ¶
type KafkaSinkConf struct { sink.SinkConfCommon `json:",inline" yaml:",inline"` Brokers []string `json:"brokers" yaml:"brokers"` Topic string `json:"topic" yaml:"topic"` Partitioner string `json:"partitioner" yaml:"partitioner"` // hash, random, manual Partition string `json:"partition" yaml:"partition"` // -1 }
KafkaSinkConf ...
Click to show internal directories.
Click to hide internal directories.