Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Brokers []string `envconfig:"KAFKA_ADDR"` KafkaMaxBytes int `envconfig:"KAFKA_MAX_BYTES"` KafkaVersion string `envconfig:"KAFKA_VERSION"` ConsumedTopic string `envconfig:"KAFKA_CONSUMED_TOPIC"` ConsumedGroup string `envconfig:"KAFKA_CONSUMED_GROUP"` KafkaSecProtocol string `envconfig:"KAFKA_SEC_PROTO"` KafkaSecCACerts string `envconfig:"KAFKA_SEC_CA_CERTS"` KafkaSecClientCert string `envconfig:"KAFKA_SEC_CLIENT_CERT"` KafkaSecClientKey string `envconfig:"KAFKA_SEC_CLIENT_KEY" json:"-"` KafkaSecSkipVerify bool `envconfig:"KAFKA_SEC_SKIP_VERIFY"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"` Snooze bool `envconfig:"SNOOZE"` OverSleep bool `envconfig:"OVERSLEEP"` KafkaParallelMessages int `envconfig:"KAFKA_PARALLEL_MESSAGES"` }
Config is the kafka configuration for this example
Click to show internal directories.
Click to hide internal directories.