fs2.kafka.vulcan

Members list

Packages

Type members

Classlikes

Attributes

Companion
class
Source
AvroDeserializer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class AvroDeserializer[F[_]]

Creates deserializers for record keys and values with Vulcan Codecs.

Creates deserializers for record keys and values with Vulcan Codecs.

Deserializers use the Confluent wire format, which is the Avro binary prefixed by a zero magic byte and the 4-byte schema id. There is also support for the key_schema_id and value_schema_id headers, in which case the Avro binary is not prefixed.

Deserialization is done using the writer schema from the schema registry, following Avro's schema resolution, where decoders are compiled once for each writer schema.

Use AvroDeserializer.default to create an instance.

Attributes

Companion
object
Source
AvroDeserializer.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
AvroSerializer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
sealed abstract class AvroSerializer[F[_]]

Creates serializers for record keys and values with Vulcan Codecs.

Creates serializers for record keys and values with Vulcan Codecs.

Serializers use the Confluent wire format, which is the Avro binary prefixed by a zero magic byte and the 4-byte schema id.

By default, the codec schema is registered under the subject decided by the subjectNameStrategy, unless autoRegisterSchemas is set to false, in which case the schema has to be pre-registered.

Use withLatestVersion or withSchemaId to write values using a schema different from the codec schema. To write schema identifiers in record headers, use withSchemaIdHeaders.

Use AvroSerializer.default to create an instance.

Attributes

Companion
object
Source
AvroSerializer.scala
Supertypes
class Object
trait Matchable
class Any
sealed abstract class SubjectNameStrategy

Strategy deciding the subject under which schemas are registered and looked up in a schema registry.

Strategy deciding the subject under which schemas are registered and looked up in a schema registry.

Attributes

Companion
object
Source
SubjectNameStrategy.scala
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Source
SubjectNameStrategy.scala
Supertypes
class Object
trait Matchable
class Any
Self type