Kafka De-/Serializer for FHIR® resources in JSON format.
<!-- https://mvnrepository.com/artifact/org.miracum/kafka-fhir-serializer -->
<dependency>
<groupId>org.miracum</groupId>
<artifactId>kafka-fhir-serializer</artifactId>
<version>1.0.8</version>
</dependency>
// https://mvnrepository.com/artifact/org.miracum/kafka-fhir-serializer
implementation "org.miracum:kafka-fhir-serializer:1.0.8"
You can find a real-life usage of this library over at https://github.com/miracum/fhir-gateway and https://github.com/miracum/kafka-fhir-to-server.
In Spring Boot:
spring:
kafka:
producer:
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.miracum.kafka.serializers.KafkaFhirSerializer
See https://central.sonatype.org/publish/publish-guide/ for a general overview.
- update version in
build.gradle
to a release version (ie. without the-SNAPSHOT
) and update the version in theREADME.md
as well - create a GitHub release
- the CI should now run and publish a new package
- follow the instructions over at https://central.sonatype.org/publish/release/ to promote the package from staging to the release repo
- increment the version number in
build.gradle
to a new snapshot version (i.e. 2.0.0-SNAPSHOT) and continue development