Class SessionWindowedSerializer<T>
java.lang.Object
org.apache.kafka.streams.kstream.SessionWindowedSerializer<T>
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.serialization.Serializer<Windowed<T>>, org.apache.kafka.streams.kstream.internals.WindowedSerializer<T>
public class SessionWindowedSerializer<T>extends Object implements org.apache.kafka.streams.kstream.internals.WindowedSerializer<T>
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDefault serializer for the inner serializer class of a windowed record.Constructor Summary
ConstructorsConstructorDescriptionSessionWindowedSerializer(org.apache.kafka.common.serialization.Serializer<T> inner) Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidbyte[]byte[]byte[]serializeBaseKey(String topic, org.apache.kafka.common.header.Headers headers, Windowed<T> data) byte[]serializeBaseKey(String topic, Windowed<T> data)
Field Details
WINDOWED_INNER_SERIALIZER_CLASS
Default serializer for the inner serializer class of a windowed record. Must implement theSerdeinterface.- See Also:
Constructor Details
SessionWindowedSerializer
public SessionWindowedSerializer()SessionWindowedSerializer
Method Details
configure
serialize
serialize
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.kafka.common.serialization.Serializer<T>
serializeBaseKey
serializeBaseKey