internal caching system since the consumer get initialized each iteration.