The Kafka consumer group to consume observation extracted events from
OBSERVATION_CONSUMER_TOPIC
observation-extracted
The Kafka topic to consume observation extracted events from
ERROR_PRODUCER_TOPIC
report-events
The Kafka topic to send the error messages to
RESULT_PRODUCER_TOPIC
import-observations-inserted
The Kafka topic to send the observations inserted messages to
BATCH_SIZE
100
The number of messages to process in each batch if the time out has not been reached
BATCH_WAIT_TIME
200ms
The duration to wait before processing a partially full batch of messages (time.Duration)
KAFKA_MAX_BYTES
0
The max message size for kafka producer
CACHE_TTL
60m
The amount of time to wait before clearing the cache (time.Duration)
GRACEFUL_SHUTDOWN_TIMEOUT
10s
The shutdown timeout (time.Duration)
HEALTHCHECK_INTERVAL
30s
The period of time between health checks
HEALTHCHECK_CRITICAL_TIMEOUT
90s
The period of time after which failing checks will result in critical global check status
GRAPH_DRIVER_TYPE
neo4j
String identifier for the implementation to be used (e.g. 'neo4j', 'neptune' or 'mock')
ENABLE_GET_GRAPH_DIMENSION_ID
true
Use store ID's for Neptune search
Graph / Neptune Configuration
Environment variable
Default
Description
GRAPH_DRIVER_TYPE
""
string identifier for the implementation to be used (e.g. 'neptune' or 'mock')
GRAPH_ADDR
""
address of the database matching the chosen driver type (web socket)
NEPTUNE_TLS_SKIP_VERIFY
false
flag to skip TLS certificate verification, should only be true when run locally
⚠ to connect to a remote Neptune environment on MacOSX using Go 1.18 or higher you must set NEPTUNE_TLS_SKIP_VERIFY to true. See our Neptune guide for more details.