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).
- Alphabetic
- By Inheritance
- KafkaSchemaBasedKeyValueDeserializationSchemaFactory
- KafkaSchemaBasedDeserializationSchemaFactory
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new KafkaSchemaBasedKeyValueDeserializationSchemaFactory()
Abstract Value Members
- abstract def createKeyDeserializer[K](schemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]], kafkaConfig: KafkaConfig)(implicit arg0: ClassTag[K]): Deserializer[K]
- Attributes
- protected
- abstract def createValueDeserializer[V](schemaDataOpt: Option[RuntimeSchemaData[ParsedSchema]], kafkaConfig: KafkaConfig)(implicit arg0: ClassTag[V]): Deserializer[V]
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- 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
- def createStringKeyDeserializer: Deserializer[_]
- Attributes
- protected
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)