Documentation
¶
Index ¶
Constants ¶
View Source
const (
ExecutionTimestamp = "executionTimestamp"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
HttpServer HttpServerConfig
Storage StorageConfig
Kafka KafkaConfig
Frequency int32
WorkerEnable bool
}
func LoadConfig ¶
type HttpServerConfig ¶
type KafkaConfig ¶
type KafkaConfig struct {
//if disabled then uses redis pub-sub
Enabled bool
//broker1:9092,broker2:9092,broker3:9092
Brokers string
Group string
SchedulerTopic string
TaskExecutionTopic string
//IBM-specific configuration
SaslEnabled bool
SaslUser string
SaslPassword string
SaslMechanism sarama.SASLMechanism
TlsEnable bool
}
Click to show internal directories.
Click to hide internal directories.