@Override
    public int compareTo(LocalTieredStorageEvent other) {
        requireNonNull(other);
        return timestamp - other.timestamp;
    }
Returns whether the provided {@code event} was created after the present event.
This assumes a chronological ordering of events.
Both events need to be generated from the same broker.

@param event The event to compare
@return true if the current instance was generated after the given {@code event},
        false if events are equal or the current instance was generated before the
        given {@code event}.
storage/src/test/java/org/apache/kafka/server/log/remote/storage/LocalTieredStorageEvent.java