Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "kafka"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
URLs []string `json:"urls"`
Topics []string `json:"topics"`
Path string `json:"path"`
From string `json:"from,omitempty"`
ConsumerGroup bool `json:"consumer_group"`
RegoTransformRule string `json:"rego_transform"`
SkipVerification bool `json:"tls_skip_verification,omitempty"`
Cert string `json:"tls_client_cert,omitempty"`
CACert string `json:"tls_ca_cert,omitempty"`
PrivateKey string `json:"tls_client_private_key,omitempty"`
SASLMechanism string `json:"sasl_mechanism,omitempty"`
SASLUsername string `json:"sasl_username,omitempty"`
SASLPassword string `json:"sasl_password,omitempty"`
SASLToken bool `json:"sasl_token,omitempty"` // optional for mechanism=scram, "Delegation Tokens" in Confluent docs
// contains filtered or unexported fields
}
Config represents the configuration of the kafka data plugin
Click to show internal directories.
Click to hide internal directories.