@Override
            public R next() {
                return inner.next();
            }
Iterators that need to be closed in order to release resources should implement this interface.

Warning: before implementing this interface, consider if there are better options. The chance of misuse is
a bit high since people are used to iterating without closing.
clients/src/main/java/org/apache/kafka/common/utils/CloseableIterator.java