Listed in this page are all environment variables needed to run Hapi-proxy.
HAPI_SERVER_URL
String
Hapi-fhir server URL
No
http://hapi-fhir:8080/fhir
KAFKA_BOOTSTRAP_SERVERS
String
Kafka server
No
kafka:9092
HAPI_SERVER_VALIDATE_FORMAT
String
Path to the service configuration file
No
kibana-kibana.yml
HAPI_PROXY_INSTANCES
Number
Number of instances of hapi-proxy
No
1
HAPI_PROXY_CPU_LIMIT
Number
CPU usage limit
No
0
HAPI_PROXY_CPU_RESERVE
Number
Reserved CPU usage
No
0.05
HAPI_PROXY_MEMORY_LIMIT
String
RAM usage limit
No
3G
HAPI_PROXY_MEMORY_RESERVE
String
Reserved RAM
No
500M
A helper package for the Kafka message bus.
A helper for Kafka message bus service, It sends data to the HAPI FHIR datastore and then to the Kafka message bus based on the response from HAPI FHIR.
More particularly:
It receives messages from OpenHIM
It sends the data to the HAPI FHIR server and waits for the response
It gets the response. According to the response status, it will send the message to the topic that corresponds to that status (2xx, 4xx, 5xx, ...
)
It will send back the response from HAPI FHIR to OpenHIM as well