@Override
        public boolean deleteIfExists() throws IOException {
            snapshotsMap.remove(offset);
            return true;
        }
Only keep the last snapshot which offset less than or equals to the recoveryPointCheckpoint
core/src/main/scala/kafka/log/streamaspect/ElasticProducerStateManager.java