Class OffsetAndMetadataTest

java.lang.Object
org.apache.kafka.clients.consumer.OffsetAndMetadataTest

public class OffsetAndMetadataTest extends Object
This test case ensures OffsetAndMetadata class is serializable and is serialization compatible. Note: this ensures that the current code can deserialize data serialized with older versions of the code, but not the reverse. That is, older code won't necessarily be able to deserialize data serialized with newer code.