Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BindAddr string `envconfig:"BIND_ADDR"` KafkaAddr []string `envconfig:"KAFKA_ADDR"` ObservationConsumerGroup string `envconfig:"OBSERVATION_CONSUMER_GROUP"` ObservationConsumerTopic string `envconfig:"OBSERVATION_CONSUMER_TOPIC"` DatasetAPIURL string `envconfig:"DATASET_API_URL"` DatasetAPIAuthToken string `envconfig:"DATASET_API_AUTH_TOKEN" json:"-"` BatchSize int `envconfig:"BATCH_SIZE"` BatchWaitTime time.Duration `envconfig:"BATCH_WAIT_TIME"` ErrorProducerTopic string `envconfig:"ERROR_PRODUCER_TOPIC"` ResultProducerTopic string `envconfig:"RESULT_PRODUCER_TOPIC"` CacheTTL time.Duration `envconfig:"CACHE_TTL"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"` ServiceAuthToken string `envconfig:"SERVICE_AUTH_TOKEN" json:"-"` ZebedeeURL string `envconfig:"ZEBEDEE_URL"` }
Config values for the application.
Click to show internal directories.
Click to hide internal directories.