public static boolean isValidHeaderVersion(short headerVersion) {
    switch (headerVersion) {
      case Message_Header_Version_V1:
      case Message_Header_Version_V2:
      case Message_Header_Version_V3:
        return true;
      default:
        return false;
    }
  }
Represents the message format of the individual records that are used to write a message to the store.
This class provides the serialization and deserialization methods for the individual records.
The MessageFormatInputStream classes defines the complete message using these individual records.
ambry-messageformat/src/main/java/com/github/ambry/messageformat/MessageFormatRecord.java