Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfiguration ¶
func ParseConfiguration()
func ValidateConfiguration ¶
func ValidateConfiguration()
Types ¶
type Specification ¶
type Specification struct { // variable STEADYBIT_EXTENSION_SEED_BROKERS="localhost:9092" SeedBrokers string `json:"seedBrokers" required:"true" split_words:"true"` // variable STEADYBIT_EXTENSION_SASL_MECHANISM="PLAIN, SCRAM-SHA-256, or SCRAM-SHA-512." SaslMechanism string `json:"saslMechanism" required:"false" split_words:"true"` // variable STEADYBIT_EXTENSION_SASL_USER="USER" SaslUser string `json:"saslUser" required:"false" split_words:"true"` // variable STEADYBIT_EXTENSION_SASL_PASSWORD="PASSWORD" SaslPassword string `json:"saslPassword" required:"false" split_words:"true"` DiscoveryIntervalConsumerGroup int `json:"discoveryIntervalKafkaConsumerGroup" split_words:"true" required:"false" default:"30"` DiscoveryIntervalKafkaBroker int `json:"discoveryIntervalKafkaBroker" split_words:"true" required:"false" default:"30"` DiscoveryIntervalKafkaTopic int `json:"discoveryIntervalKafkaTopic" split_words:"true" required:"false" default:"30"` DiscoveryAttributesExcludesBrokers []string `json:"discoveryAttributesExcludesBrokers" split_words:"true" required:"false"` DiscoveryAttributesExcludesTopics []string `json:"discoveryAttributesExcludesTopics" split_words:"true" required:"false"` DiscoveryAttributesExcludesConsumerGroups []string `json:"discoveryAttributesExcludesConsumerGroups" split_words:"true" required:"false"` }
Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig
var (
Config Specification
)
Click to show internal directories.
Click to hide internal directories.