def user_agent(self): return getenv( 'USER_AGENT', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ' '(KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36')
def kafka_bootstrap_servers(self): return getenv('KAFKA_BOOTSTRAP_SERVERS')
def certs_directory(self): return getenv('CERTIFICATES_DIR', 'certificates')
def message_encoding(self): return getenv('MESSAGE_ENCODING', 'utf-8')
def kafka_consumer_group(self): return getenv('KAFKA_CONSUMER_GROUP', 'checks-consumer')
def postgres_dsn(self): return getenv('POSTGRES_DSN')
def kafka_topic_success(self): return getenv('KAFKA_TOPIC_SUCCESS', 'checks-success')
def kafka_topic_failure(self): return getenv('KAFKA_TOPIC_FAILURE', 'checks-failure')
def kafka_keyile(self): return getenv('KAFKA_KEYILE', '')
def kafka_certfile(self): return getenv('KAFKA_CERTFILE', '')
def kafka_cafile(self): return getenv('KAFKA_CAFILE', '')