public static <VR, V> void checkSupplier(final ValueTransformerSupplier<V, VR> supplier) {
        if (supplier.get() == supplier.get()) {
            final String supplierClass = supplier.getClass().getName();
            throw new IllegalArgumentException(String.format("%s generates single reference." +
                    " %s#get() must return a new object each time it is called.", supplierClass, supplierClass));
        }
    }
@throws IllegalArgumentException if the same instance is obtained each time
streams/src/main/java/org/apache/kafka/streams/internals/ApiUtils.java