Overview
The fs2-kafka-vulcan module provides Avro support for FS2 Kafka using Vulcan. Schemas are stored in a schema registry implementing the Confluent Schema Registry REST API, like Confluent Schema Registry and Karapace, using http4s-schema-registry. Records use the same wire format as the Confluent serializers.
Documentation is kept up-to-date, currently documenting v5.0.0-RC1 on Scala 3.3.
Getting Started
To get started with sbt, add the following line to your build.sbt file.
libraryDependencies += "org.typelevel" %% "fs2-kafka-vulcan" % "5.0.0-RC1"
Published for Scala 2.13 and 3.3.
For changes between versions, please refer to the release notes.
To upgrade from 4.x, refer to the migration guide.
For checking whether codecs are compatible with a schema registry in tests, there is a MUnit testkit.
Signatures
Stable release artifacts are signed with the 14CA 4AC4 FDB0 0D5F key.
Compatibility
Backwards binary-compatibility for the library is guaranteed between minor and patch versions.
Version 5.a.b is backwards binary-compatible with 5.c.d for any a.b > c.d.
Note binary-compatibility is not guaranteed between milestone releases.
Snapshot Releases
To use the latest snapshot release, add the following lines to your build.sbt file.
resolvers += Resolver.sonatypeCentralSnapshots
libraryDependencies += "org.typelevel" %% "fs2-kafka-vulcan" % "5.0-e917aba-SNAPSHOT"
Dependencies
Refer to the table below for dependencies and version support across modules.
| Module | Dependencies | Scala |
|---|---|---|
fs2-kafka-vulcan |
fs2-kafka 4.3.0, http4s-schema-registry 1.0.0-RC1, vulcan 2.0.0-RC1 | Scala 2.13 and 3.3 |
fs2-kafka-vulcan-testkit-munit |
fs2-kafka-vulcan, munit 1.3.6 |
Scala 2.13 and 3.3 |
Participation
Everyone is expected to follow the Typelevel Code of Conduct as described here.
License
Licensed under the Apache License 2.0. Refer to the license file.