Skip to content

Commit e87be92

Browse files
Add health check endpoint
1 parent 7e2cf0d commit e87be92

File tree

4 files changed

+416
-4
lines changed

4 files changed

+416
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ The following parameters can be set in config files or in env variables:
3535
- ELASTICSEARCH_INDEX: the Elasticsearch index to store Kafka messages data, default value is 'submission-index'
3636
- ELASTICSEARCH_INDEX_TYPE: the Elasticsearch index type name, default value is 'submission'
3737

38+
Also note that there is a `/health` endpoint that checks for the health of the app. This sets up an expressjs server and listens on the environment variable `PORT`. It's not part of the configuration file and needs to be passed as an environment variable
39+
3840
## Local Kafka setup
3941

4042
- `http://kafka.apache.org/quickstart` contains details to setup and manage Kafka server,

0 commit comments

Comments
 (0)