@Override
        public int size() {
            return 1;
        }
The LocalLogManager is a test implementation that relies on the contents of memory.
metadata/src/test/java/org/apache/kafka/metalog/LocalLogManager.java