Class VoidSerializer
java.lang.Object
org.apache.kafka.common.serialization.VoidSerializer
- All Implemented Interfaces:
- Closeable,- AutoCloseable,- Serializer<Void>
- 
Constructor Details- 
VoidSerializerpublic VoidSerializer()
 
- 
- 
Method Details- 
serializeDescription copied from interface:SerializerConvertdatainto a byte array.- Specified by:
- serializein interface- Serializer<Void>
- Parameters:
- topic- topic associated with data
- data- typed data
- Returns:
- serialized bytes
 
 
-