public int brokerId() {
        return brokerId;
    }
Walks through this storage and notify the traverser of every topic-partition, segment and record discovered.
<p>
- The order of traversal of the topic-partition is not specified.
- The order of traversal of the segments within a topic-partition is in ascending order
of the modified timestamp of the segment file.
- The order of traversal of records within a segment corresponds to the insertion
order of these records in the original segment from which the segment in this storage
was transferred from.
<p>
This method is NOT an atomic operation w.r.t the local tiered storage. This storage may change while
being traversed topic-partitions, segments and records are communicated to the traverser. There is
no guarantee updates to the storage which happens during traversal will be communicated to the traverser.
Especially, in case of concurrent read and write/delete to a topic-partition, a segment or a record,
the behaviour depends on the underlying file system.

@param traverser User-specified object to which this storage communicates the topic-partitions,
                 segments and records as they are discovered.
storage/src/test/java/org/apache/kafka/server/log/remote/storage/LocalTieredStorage.java