Describes how to create a KafkaAvroDeserializer and a KafkaAvroSerializer and which settings should be used. Settings are tailored for the Confluent Kafka Avro serializers and deserializers.
Use AvroSettings.apply to create an instance.
Attributes
- Companion
- object
- Source
- AvroSettings.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
Creates a new KafkaAvroDeserializer using the settings contained within this AvroSettings instance, and the specified isKey flag, denoting whether a record key or value is being deserialized.
Creates a new KafkaAvroDeserializer using the settings contained within this AvroSettings instance, and the specified isKey flag, denoting whether a record key or value is being deserialized.
Attributes
- Source
- AvroSettings.scala
Creates a new KafkaAvroSerializer using the settings contained within this AvroSettings instance, and the specified isKey flag, denoting whether a record key or value is being serialized.
Creates a new KafkaAvroSerializer using the settings contained within this AvroSettings instance, and the specified isKey flag, denoting whether a record key or value is being serialized.
Attributes
- Source
- AvroSettings.scala
Properties provided when creating a Confluent Kafka Avro serializer or deserializer.
Properties provided when creating a Confluent Kafka Avro serializer or deserializer. Functions in AvroSettings add properties here as necessary.
Attributes
- Source
- AvroSettings.scala
Register a schema for a given Codec for some type A, or return the existing schema id if it already exists.
Register a schema for a given Codec for some type A, or return the existing schema id if it already exists.
Value parameters
- subject
-
The subject name
Attributes
- Returns
-
The schema id
- Source
- AvroSettings.scala
The SchemaRegistryClient to use for the serializers and deserializers created from this AvroSettings.
The SchemaRegistryClient to use for the serializers and deserializers created from this AvroSettings.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified setting for whether serializers should register schemas automatically or not.
Creates a new AvroSettings instance with the specified setting for whether serializers should register schemas automatically or not.
The default value is true.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified function for creating KafkaAvroDeserializers from settings.
Creates a new AvroSettings instance with the specified function for creating KafkaAvroDeserializers from settings. The arguments are schemaRegistryClient, isKey, and properties.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified function for creating KafkaAvroSerializers from settings.
Creates a new AvroSettings instance with the specified function for creating KafkaAvroSerializers from settings. The arguments are schemaRegistryClient, isKey, and properties.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified key subject name strategy.
Creates a new AvroSettings instance with the specified key subject name strategy. This is the class name of the strategy which should be used.
The default value is io.confluent.kafka.serializers.subject.TopicNameStrategy.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance including properties with the specified keys and values.
Creates a new AvroSettings instance including properties with the specified keys and values.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance including properties with the specified keys and values.
Creates a new AvroSettings instance including properties with the specified keys and values.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance including a property with the specified key and value.
Creates a new AvroSettings instance including a property with the specified key and value.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified function for registering schemas from settings.
Creates a new AvroSettings instance with the specified function for registering schemas from settings. The arguments are schemaRegistryClient, subject, and codec.
Attributes
- Source
- AvroSettings.scala
Creates a new AvroSettings instance with the specified value subject name strategy.
Creates a new AvroSettings instance with the specified value subject name strategy. This is the class name of the strategy which should be used.
The default value is io.confluent.kafka.serializers.subject.TopicNameStrategy.
Attributes
- Source
- AvroSettings.scala
Deprecated methods
Attributes
- Deprecated
- true
- Source
- AvroSettings.scala
Attributes
- Deprecated
- true
- Source
- AvroSettings.scala