Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Setup ¶
func Setup(bs json.RawMessage) (types.OutputPlugin, error)
Types ¶
type Kafka ¶
type Kafka struct { plugin.PluginCommon // kafka config KafkaConfig KafkaConfig *output.DnstapOutput // contains filtered or unexported fields }
The kafka plugin outputs messages to the kafka server.
func (*Kafka) GetEncoder ¶
func (*Kafka) SetOutputContext ¶
func (f *Kafka) SetOutputContext(oc *types.OutputContext)
type KafkaConfig ¶
type KafkaConfig struct { Hosts []string SchemaRegistries []string Retry uint Topic string Key string OutputType OutputType }
kafka config
type OutputType ¶
type OutputType string
var ( OutputTypeJSON OutputType = "json" OutputTypePtoroBuf OutputType = "protobuf" OutputTypeAvero OutputType = "avero" )
Click to show internal directories.
Click to hide internal directories.