forked from mosip/mosip-config
-
Notifications
You must be signed in to change notification settings - Fork 4
/
websub-consolidator.toml
33 lines (23 loc) · 1.3 KB
/
websub-consolidator.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[consolidatorService.config]
# IP and Port of the Kafka bootstrap node
KAFKA_BOOTSTRAP_NODE = "kafka.${kafka.profile}:${kafka.port}"
# Kafka topic which will get notified for websub topic registration/deregistration
# All the hubs must be pointed to the same Kafka topic to notify websub topic registration/deregistration
REGISTERED_WEBSUB_TOPICS_TOPIC = "registered-websub-topics"
# Kafka topic which stores consolidated websub topics for the hub
CONSOLIDATED_WEBSUB_TOPICS_TOPIC = "consolidated-websub-topics"
# Kafka topic which will get notified for websub subscription/unsubscription
# All the hubs must be pointed to the same Kafka topic to notify websub subscription/unsubscription
WEBSUB_SUBSCRIBERS_TOPIC = "registered-websub-subscribers"
# Kafka topic which is stores consolidated websub subscribers for this server
CONSOLIDATED_WEBSUB_SUBSCRIBERS_TOPIC = "consolidated-websub-subscribers"
# The interval in which Kafka consumers wait for new messages
POLLING_INTERVAL = 10.0
# The period in which Kafka close method waits to complete
GRACEFUL_CLOSE_PERIOD = 5.0
# The disk space threshold for healthcheck
DISK_SPACE_THRESHOLD = 10485760
# The port that is used to start the consolidator
CONSOLIDATOR_PORT = 9192
# consolidator health endpoint
CONSOLIDATOR_HEALTH_ENDPOINT = "/consolidator/actuator/health"