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