private T advance() {
        if (!iterator.hasNext()) {
            iterator = iterable.iterator();
        }
        return iterator.next();
    }
Return the next value in the {@code Iterator}, restarting the
{@code Iterator} if necessary.

@return The next value in the iterator
clients/src/main/java/org/apache/kafka/common/utils/CircularIterator.java