c

pl.touk.nussknacker.engine.schemedkafka.serialization

KafkaSchemaBasedKeyValueDeserializationSchemaFactory

abstract class KafkaSchemaBasedKeyValueDeserializationSchemaFactory extends KafkaSchemaBasedDeserializationSchemaFactory

Abstract base implementation of KafkaSchemaBasedDeserializationSchemaFactory which uses Kafka's Deserializer in returned Flink's KeyedDeserializationSchema. It deserializes both key and value and wrap it in ConsumerRecord object (transforms raw event represented as ConsumerRecord from Array[Byte] domain to Key-Value-type domain).

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. KafkaSchemaBasedKeyValueDeserializationSchemaFactory
  2. KafkaSchemaBasedDeserializationSchemaFactory
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new KafkaSchemaBasedKeyValueDeserializationSchemaFactory()

Abstract Value Members

  1. abstract def createKeyDeserializer[K](schemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]], kafkaConfig: KafkaConfig)(implicit arg0: ClassTag[K]): Deserializer[K]
    Attributes
    protected
  2. abstract def createValueDeserializer[V](schemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]], kafkaConfig: KafkaConfig)(implicit arg0: ClassTag[V]): Deserializer[V]
    Attributes
    protected

Concrete 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. def create[K, V](kafkaConfig: KafkaConfig, keySchemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]], valueSchemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]])(implicit arg0: ClassTag[K], arg1: ClassTag[V]): KafkaDeserializationSchema[ConsumerRecord[K, V]]

    Prepare Flink's KafkaDeserializationSchema based on provided information.

    Prepare Flink's KafkaDeserializationSchema based on provided information.

    K

    Type that should be produced by key deserialization schema.

    V

    Type that should be produced by value deserialization schema. It is important parameter, because factory can use other deserialization strategy base on it or provide different TypeInformation

    kafkaConfig

    Configuration of integration with Kafka.

    keySchemaDataOpt

    Schema which will be used as a key reader schema.

    valueSchemaDataOpt

    Schema which will be used as a value reader schema. In case of None, writer schema will be used.

    returns

    KafkaDeserializationSchema

    Definition Classes
    KafkaSchemaBasedKeyValueDeserializationSchemaFactoryKafkaSchemaBasedDeserializationSchemaFactory
  7. def createStringKeyDeserializer: Deserializer[_]
    Attributes
    protected
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. 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 Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped