@Override
        public void visitTopicIdPartition(TopicIdPartition topicIdPartition) {
            if (topicIdPartitions.contains(topicIdPartition)) {
                throw new IllegalStateException(format("Topic-partition %s was already visited", topicIdPartition));
            }

            this.topicIdPartitions.add(topicIdPartition);
        }
A capture of the content of the local tiered storage at a point in time.
storage/src/test/java/org/apache/kafka/server/log/remote/storage/LocalTieredStorageSnapshot.java