KeySerdeFactory¶
KeySerdeFactory
is an abstraction of factories of key serdes.
Contract¶
Creating Key Serde¶
Serde<GenericKey> create(
FormatInfo format,
PersistenceSchema schema,
KsqlConfig ksqlConfig,
Supplier<SchemaRegistryClient> schemaRegistryClientFactory,
String loggerNamePrefix,
ProcessingLogContext processingLogContext,
Optional<TrackedCallback> tracker)
Serde
(Apache Kafka) of GenericRow
s
See GenericKeySerDe
Used when:
CreateSourceFactory
is requested to validateSerdesCanHandleSchemasKafkaConsumerFactory
is requested to create aKafkaConsumer
MaterializationProviderBuilderFactory
is requested tobuildMaterializationProvider
RuntimeBuildContext
is requested to buildKeySerdeInsertsSubscriber
is requested tocreateInsertsSubscriber
InsertValuesExecutor
is requested toserializeValue
Creating Windowed Serde¶
Serde<Windowed<GenericKey>> create(
FormatInfo format,
WindowInfo window,
PersistenceSchema schema,
KsqlConfig ksqlConfig,
Supplier<SchemaRegistryClient> schemaRegistryClientFactory,
String loggerNamePrefix,
ProcessingLogContext processingLogContext,
Optional<TrackedCallback> tracker)
Serde
(Apache Kafka) of Windowed
(Kafka Streams) of GenericRow
s
See GenericKeySerDe
Used when:
KafkaConsumerFactory
is requested to create aKafkaConsumer
RuntimeBuildContext
is requested to buildKeySerde