This can be used to alter kafka messages for onco-analytics-on-fhir before any other processing of data.
- Removes leading zeros from
Patient_ID
in oBDS message. - Drops Kafka records not containing an oBDS 2.x message (e.g. new oBDS 3.x)
All features are enabled by default.
See docker-compose.yml for an example on how to use the image, available here.
Change BOOTSTRAP_SERVERS
, INPUT_TOPICS
or OUTPUT_TOPIC
to apply any configuration changes.
To enable or disable a feature, set the given env var to true
or false
. All features are enabled by default.
ENABLE_REMOVE_PATIENT_ID_ZERO
: Enable removing of leading patient id zerosENABLE_DROP_NON_OBDS_2
: Drop records not containing oBDS 2.x messages