class UniversalToJsonFormatter[K, V] extends AbstractSchemaBasedRecordFormatter[K, V]

Linear Supertypes
AbstractSchemaBasedRecordFormatter[K, V], RecordFormatter, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UniversalToJsonFormatter
  2. AbstractSchemaBasedRecordFormatter
  3. RecordFormatter
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UniversalToJsonFormatter(kafkaConfig: KafkaConfig, schemaRegistryClient: SchemaRegistryClient, recordFormatterSupportDispatcher: RecordFormatterSupportDispatcher, deserializationSchema: KafkaDeserializationSchema[ConsumerRecord[K, V]], schemaIdFromMessageExtractor: SchemaIdFromMessageExtractor)(implicit arg0: ClassTag[K], arg1: ClassTag[V])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. val deserializationSchema: KafkaDeserializationSchema[ConsumerRecord[K, V]]
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  7. def deserialize(record: ConsumerRecord[Array[Byte], Array[Byte]], valueSchemaIdOpt: Option[SchemaId]): ConsumerRecord[K, V]
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def formatMessage(schemaIdOpt: Option[SchemaId], data: Any): Json
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  11. def formatRecord(record: ConsumerRecord[Array[Byte], Array[Byte]]): TestRecord

    Step 1: Deserialize raw kafka event to record domain (e.g.

    Step 1: Deserialize raw kafka event to record domain (e.g. GenericRecord). Step 2: Create Encoders that convert record to json Step 3: Encode event's data with schema id's with derived encoder.

    Attributes
    protected
    Definition Classes
    AbstractSchemaBasedRecordFormatter → RecordFormatter
  12. def generateTestData(topics: NonEmptyList[ForSource], size: Int, kafkaConfig: KafkaConfig): TestData
    Definition Classes
    RecordFormatter
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val kafkaConfig: KafkaConfig
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. def parseRecord(topic: ForSource, testRecord: TestRecord): ConsumerRecord[Array[Byte], Array[Byte]]

    Step 1: Deserialize raw json bytes to SchemaBasedSerializableConsumerRecord[Json, Json] domain without interpreting key and value content.

    Step 1: Deserialize raw json bytes to SchemaBasedSerializableConsumerRecord[Json, Json] domain without interpreting key and value content. Step 2: Create key and value json-to-record interpreter based on schema id's provided in json. Step 3: Use interpreter to create raw kafka ConsumerRecord

    Definition Classes
    AbstractSchemaBasedRecordFormatter → RecordFormatter
  21. def prepareGeneratedTestData(records: List[ConsumerRecord[Array[Byte], Array[Byte]]]): TestData
    Definition Classes
    RecordFormatter
  22. def readRecordKeyMessage(schemaOpt: Option[ParsedSchema], topic: ForSource, jsonObj: Json): Array[Byte]
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  23. def readValueMessage(schemaOpt: Option[ParsedSchema], topic: ForSource, jsonObj: Json): Array[Byte]
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  24. val schemaIdFromMessageExtractor: SchemaIdFromMessageExtractor
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  25. val schemaRegistryClient: SchemaRegistryClient
    Attributes
    protected
    Definition Classes
    UniversalToJsonFormatterAbstractSchemaBasedRecordFormatter
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from RecordFormatter

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped