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"` Brokers []string `envconfig:"KAFKA_ADDR"` ConsumerGroup string `envconfig:"CONSUMER_GROUP"` ConsumerTopic string `envconfig:"HIERARCHY_BUILT_TOPIC"` ElasticSearchAPIURL string `envconfig:"ELASTIC_SEARCH_URL"` EventReporterTopic string `envconfig:"EVENT_REPORTER_TOPIC"` GracefulShutdownTimeout time.Duration `envconfig:"GRACEFUL_SHUTDOWN_TIMEOUT"` HealthCheckInterval time.Duration `envconfig:"HEALTHCHECK_INTERVAL"` HealthCheckCriticalTimeout time.Duration `envconfig:"HEALTHCHECK_CRITICAL_TIMEOUT"` HierarchyAPIURL string `envconfig:"HIERARCHY_API_URL"` KafkaMaxBytes string `envconfig:"KAFKA_MAX_BYTES"` MaxRetries int `envconfig:"REQUEST_MAX_RETRIES"` ProducerTopic string `envconfig:"PRODUCER_TOPIC"` SearchBuilderURL string `envconfig:"SEARCH_BUILDER_URL"` SignElasticsearchRequests bool `envconfig:"SIGN_ELASTICSEARCH_REQUESTS"` KafkaVersion string `envconfig:"KAFKA_VERSION"` KafkaOffsetOldest bool `envconfig:"KAFKA_OFFSET_OLDEST"` }
Config is the filing resource handler config
Click to show internal directories.
Click to hide internal directories.