Serde<Windowed<T>> sessionWindowedSerdeFrom(
final Class<T> type)
WindowedSerdes — SessionWindowedSerde and TimeWindowedSerde
WindowedSerdes
is a class that acts as a namespace for two static classes:
WindowedSerdes
also defines two factory methods to create instances of TimeWindowedSerde and SessionWindowedSerde for the specified inner class type.
Method | Description |
---|---|
|
|
|
|
Scala API for Kafka Streams
Serdes object defines the following implicit conversions to create instances of TimeWindowedSerde
and SessionWindowedSerde
(without an explicit inner class type):
-
sessionWindowedSerde for a WindowedSerdes.SessionWindowedSerde[T] instance
-
timeWindowedSerde for a WindowedSerdes.TimeWindowedSerde[T] instance