public void release() {
        streamsMetadata().release();
        objectsMetadata().release();
        kv().release();
    }
The broker metadata image.

This class is thread-safe.
metadata/src/main/java/org/apache/kafka/image/MetadataImage.java