Package

pl.touk.nussknacker.engine.avro.schemaregistry.confluent

formatter

Permalink

package formatter

Visibility
  1. Public
  2. All

Type Members

  1. case class AvroSerializableConsumerRecord[K, V](keySchemaId: Option[Int], valueSchemaId: Int, consumerRecord: SerializableConsumerRecord[K, V]) extends Product with Serializable

    Permalink
  2. class ConfluentAvroToJsonFormatter[K, V] extends RecordFormatter

    Permalink

    Formatter uses writer schema ids to assure test data represent raw events data, without schema evolution (which adjusts data to reader schema).

    Formatter uses writer schema ids to assure test data represent raw events data, without schema evolution (which adjusts data to reader schema). Test data record contains data of ConsumerRecord and contains key and value schema ids (see [AvroSerializableConsumerRecord]).

    K

    - key type passed from KafkaAvroSourceFactory, used to determine which datumReaderWriter use (e.g. specific or generic)

    V

    - value type passed from KafkaAvroSourceFactory, used to determine which datumReaderWriter use (e.g. specific or generic)

  3. class ConfluentAvroToJsonFormatterFactory extends RecordFormatterFactory

    Permalink

    RecordFormatter factory for kafka avro sources with avro payload.

  4. class JsonPayloadToJsonFormatterFactory extends RecordFormatterFactory

    Permalink

    RecordFormatter factory for kafka avro sources with json payload.

    RecordFormatter factory for kafka avro sources with json payload.

    Test data record is a simple record representing data of ConsumerRecord. It does not contain schema ids. Creates instance of ConsumerRecordToJsonFormatter with fixed key-value types (key and value are always deserialized to Json).

  5. class KafkaJsonKeyValueDeserializationSchemaFactory extends KafkaAvroKeyValueDeserializationSchemaFactory

    Permalink

Ungrouped