Using Docker and Kafka with IBM FHIR Server Audit for Testing

Thie attached GIST is a package of Kubernetes yaml files and Java code to test locally with Docker/Kubernetes with the IBM FHIR Server.

You’ll want to kubectl apply -f <filename> for each of the files.

Then apply the fhir-server-config-snippet.json to your fhir-server-config.json

And run

kubectl config use-context docker-desktop
kubectl -n fhir-cicd-ns port-forward kafka-0 9092

Thanks to https://github.com/d1egoaz/minikube-kafka-cluster for the inspiration.