Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.81 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.81 KB

Kafka® FHIR® Serializer

Apache-2.0 license OpenSSF Scorecard

Kafka De-/Serializer for FHIR® resources in JSON format.

Installation

Maven

<!-- https://mvnrepository.com/artifact/org.miracum/kafka-fhir-serializer -->
<dependency>
    <groupId>org.miracum</groupId>
    <artifactId>kafka-fhir-serializer</artifactId>
    <version>1.0.6</version>
</dependency>

Gradle

// https://mvnrepository.com/artifact/org.miracum/kafka-fhir-serializer
implementation "org.miracum:kafka-fhir-serializer:1.0.6"

Usage

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

Development

Release

See https://central.sonatype.org/publish/publish-guide/ for a general overview.

  1. update version in build.gradle to a release version (ie. without the -SNAPSHOT) and update the version in the README.md as well
  2. create a GitHub release
  3. the CI should now run and publish a new package
  4. follow the instructions over at https://central.sonatype.org/publish/release/ to promote the package from staging to the release repo
  5. increment the version number in build.gradle to a new snapshot version (i.e. 2.0.0-SNAPSHOT) and continue development