protected ApiMessage newApiMessage(short apiKey) {
        return MetadataRecordType.fromId(apiKey).newMetadataRecord();
    }
This class provides serialization and deserialization for {@link RemoteLogMetadata}. This is the root serde
for the messages that are stored in internal remote log metadata topic.
storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/serialization/RemoteLogMetadataSerde.java